Style guide » History » Version 1
Version 1/3
-
Next » -
Current version
Giulio Moro, 2015-08-20 05:20 PM
Style guide¶
You are welcome to contribute to this repository. If you decide to, please follow our style guide (which we have not followed thoroughly
- use tabs for indentation
- space around every mathematical/binary operator (=, *, +, <<, etc.)
- but no space inside parens ---> if(a 2) not if( a 2 ) nor if(a==2)
- space between comment symbol and beginning of text: // Like this
- comments aligned to same indentation as the code