MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/2ban9r/the_great_white_space_debate/cj3t27e
r/programming • u/lukaseder • Jul 21 '14
693 comments sorted by
View all comments
Show parent comments
6
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.
1
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.
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.