You find here a few very basic formatting rules for the source files. This formatting ensures readability of the source codes.
- Keep headers compact & descriptive, with clear separated copyright information
- Move license & disclaimer to the bottom of the text
- Single Line Comments should use // style comment
Multi Line Comments should use /**/ style - Delimit functions with "//-----------------------"
- ALWAYS use {} brackets, even with single line conditional blocks.
Use this style of brackets and spacing:
if( bCondition )
{
SomeAction();
}
