docs/coding-standard
raw| 1 | |
| 2 | |
| 3 | |
| 4 | Golden Rule: Imitate the code from template.cpp and template.h, and what you see around. |
| 5 | |
| 6 | |
| 7 | |
| 8 | Indentations: use ONLY white spaces. 1 indentation == 4 white spaces. |
| 9 | |
| 10 | Comments: use multiline comments for multiline text and single line comments for single lines of text. |
| 11 | |
| 12 | Names: use short names for simple things, long names for complex. |
| 13 | |
| 14 | File Names: use lowercase characters and underscores (a-z and _) for names of .h and .cpp files. |
| 15 | |
| 16 |