CERN Accelerating science

This website is no longer maintained. Its content may be obsolete. Please visit http://home.cern/ for current CERN information.

Anaphe Programming Guidelines

Adapted by Max Sang from the Rational© guidelines and others (Taligent©, Ellemtal©, Stroustrup, Eckel, etc.)

Please read Effective C++ and its successors if you haven't already. They are good for your soul. Also read the design guidelines.




First Principles




General Style




Comments

Avoid comments except where necessary - over time and editing, comments can become misleading, which is much worse than no comments at all.


Naming

The naming rules from the design guidelines are also recommended for implementation. In addition,


Classes




Other Guidelines




Physical Organisation




Max Sang
Last modified: Wed Mar 6 18:52:26 CET 2002