News for hackers. Stuff that matters.
Re:The Facts Behind the Code Indention Style War by Confusion on Tuesday July 07, 2009 @10:41AM (#691535)
This is about bracing styles and your comment is about Python. That is almost a non sequitur ;)
Re:The Facts Behind the Code Indention Style War by ErrantX on Tuesday July 07, 2009 @11:10AM (#691593)
not really - I used K&R in PHP which got me in the poor habit of compressing any code. :)
Re:The Facts Behind the Code Indention Style War by mrinterweb on Tuesday July 07, 2009 @11:57AM (#691703)
I don't know if compressing code is a bad habit. Generally the more code I can see on a screen the faster I can understand what is happening. A good way to add visual space is to supplement the extra lines Allman style would add with comments. I hate scrolling up and down constantly to see what a simple class is trying to do.