User Tools

Site Tools


for_developers:style_guide

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
for_developers:style_guide [2016/12/18 15:31] – external edit 127.0.0.1for_developers:style_guide [2021/06/09 18:31] (current) – [Code Documentation] ursgraf
Line 1: Line 1:
 ====== Coding Style Guide ====== ====== Coding Style Guide ======
  
-EEROS is written primarily in C++, and its developers follow the [[https://google-styleguide.googlecode.com/svn/trunk/cppguide.html|Google C++ Style Guide]] with some modifications:+EEROS is written primarily in C++, and its developers follow the [[https://google.github.io/styleguide/cppguide.html|Google C++ Style Guide]] with some modifications:
  
 === #define Guards === === #define Guards ===
Line 60: Line 60:
  
   * The documentation of the code is done with Doxygen.   * The documentation of the code is done with Doxygen.
-  * The code is documented in the definition, never in the declaration.+  * The code is documented in the declaration, never in the definition.
   * Whenever possible the definition should be separated from the declaration.   * Whenever possible the definition should be separated from the declaration.
   * Templates have to be defined directly in the hpp-file. In that case, the documentation will be added there.   * Templates have to be defined directly in the hpp-file. In that case, the documentation will be added there.
for_developers/style_guide.txt · Last modified: 2021/06/09 18:31 by ursgraf