[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
10.2 Coding style
If you plan to contribute code to the Gmsh project, here are some easy rules to make the code easy to read/debug/maintain:
-
please enable full warnings for your compiler (e.g., add
-Wall
toFLAGS
in the ‘variables’ file); -
always use the
Msg::
class to print information, errors, …; - indent your files using ‘utils/misc/indent.sh’;
- convert all tabs to spaces.