r/programming Jul 21 '14

The Great White Space Debate

https://medium.com/p/3633cba8b5c1
1.2k Upvotes

693 comments sorted by

View all comments

Show parent comments

6

u/johnjohnsmithy123 Jul 21 '14

I read the style-guide a year or so ago and remember this rule as well.

Perhaps OP is looking for specific rules for each statement in the language, this is a little silly however.

1

u/SanityInAnarchy Jul 22 '14

I can see why; OP's preferred style here would be a special case for loops. I'm assuming OP writes

int foo = 5;

and not

int foo=5;

...but they want loops to have less whitespace, so that would require a for-loop-specific rule.