Spaces around stuff
janhancic opened this issue · comments
We probably need to define where people should put spaces around () and stuff like that.
For instance: if(something) {} vs if ( something ){} ...
mmmm
I don't feel very strongly.
I lean towards spaces after keywords, spaces around operators except unary operators and no spaces after ( or before ), but a space between ) and {
That was just an example of what I'm on about. I just think we need to write the rules down and then discuss them.
Have a look at my first draft here: https://github.com/janhancic/StyleGuide/blob/gh-pages/readme.md#spaces and tell me what you think.
Once we agree on this (well, at least the two of us), I'll update your examples to follow this ...