Hacker News new | ask | show | jobs
by ErrantX 6196 days ago
not really - I used K&R in PHP which got me in the poor habit of compressing any code. :)
1 comments

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.