manpagez: man pages & more
info gmsh
Home | html | info | man
[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

C.3 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:

  1. please enable full warnings for your compiler (e.g., add -Wall to FLAGS in the ‘variables’ file);
  2. always use the Msg:: class to print information, errors, …;
  3. indent your files (2 spaces)
  4. convert all tabs to spaces.

© manpagez.com 2000-2024
Individual documents may contain additional copyright information.