Live data from Hacker News

Poll: Spaces in if statements

news.ycombinator.com

11–20 of 32 posts

Re: Poll: Spaces in if statements

#16
post #4

I personally prefer if( test )

This is my personal preference too. I like that the condition is visually separated from the wrapping. I'm also prone to borderline-too-complex conditions, and this syntax makes those easier to focus on.

Re: Poll: Spaces in if statements

#20
I don't recall which I do, but I do know that I use less space in general nowadays than I did before syntax highlighting was basically everywhere. Anyone else change their style due to syntax highlighting?
Post reply on HN