Changes between Version 3 and Version 4 of CodingStyle


Ignore:
Timestamp:
Dec 22, 2007, 5:22:18 PM (16 years ago)
Author:
Nicolas
Comment:

Use bullets even in sections with only one item. It's more consistent, and easier to read since it puts everything at the same indent level.

Legend:

Unmodified
Added
Removed
Modified
  • CodingStyle

    v3 v4  
    4747=== Constants ===
    4848
    49 There should be few numeric constants in code. Generally they should be `#define`s.
     49 * There should be few numeric constants in code. Generally they should be `#define`s.
    5050
    5151=== Braces ===
     
    7474=== Comments and #ifdefs ===
    7575
    76  * use `//` for all comments
    77  * comment out blocks of code as follows:
     76 * Use `//` for all comments.
     77 * Comment out blocks of code as follows:
    7878{{{
    7979#if 0
     
    9191=== Extern declarations ===
    9292
    93 {{{foo.h}}} should have '{{{extern}}}' declarations for all public functions and variables in {{{foo.C}}} There should be no '{{{extern}}}' statements in {{{.C}}} files.
     93 * {{{foo.h}}} should have '{{{extern}}}' declarations for all public functions and variables in {{{foo.C}}} There should be no '{{{extern}}}' statements in {{{.C}}} files.
    9494
    9595=== Use of static ===