News for hackers. Stuff that matters.
Re:Hackers' screen shots by dfranke on Wednesday October 31, 2007 @10:44PM (#74923)
Up to a point, avoiding whitespace does gain you something. It means you can fit more code on the screen at one time. In languages with C-like syntax, I've taken to putting consecutive close-braces on the same line, at the indentation level matching the outermost brace. It's surprising how much it helps.
Re:Hackers' screen shots by boucher on Thursday November 01, 2007 @07:32PM (#75259)
I disagree. The amount gained to having more on the screen is much less than what is lost to readability. Whitespace is your friend.

I do exactly the opposite, where each bracket gets its own line, never going on the same line as code. This helps create an excellent visual division of blocks on the page.