News for hackers. Stuff that matters.
Re:The Facts Behind the Code Indention Style War by mrinterweb on Tuesday July 07, 2009 @12:06PM (#691723)
Well put. Personally, I get distracted when reading Allman style. When I start scrolling, I start daydreaming about all of the wasted space and how that programmer must have met his/her line quota for the day. Most editors have a brace matching feature that helps.
Re:The Facts Behind the Code Indention Style War by Tichy on Tuesday July 07, 2009 @12:14PM (#691738)
Yeah while I was reading that article it occurred to me that Allman is a good way to increase LoC count ;-)
Re:The Facts Behind the Code Indention Style War by andygeers on Tuesday July 07, 2009 @12:19PM (#691760)
You'll also notice that in his example of the Allman style, each code block starts with a comment. In my experience as an Allman formatter, I feel pretty much compelled to comment even the simplest code blocks, just so that it doesn't look stupid, thus increasing the number of lines of code even further.