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. :)
[ Parent
| on HN ]
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.