Changes between Version 3 and Version 4 of CStyle


Ignore:
Timestamp:
2013-05-23T17:55:40Z (11 years ago)
Author:
Martin Decky
Comment:

elaborate on comments and spacing

Legend:

Unmodified
Added
Removed
Modified
  • CStyle

    v3 v4  
    5757=== Comments ===
    5858
    59  * Only /* */ comments are allowed. // comments are prohibited
     59 * In general, only /* */ comments are allowed. `//` comments can be used only to mark transitional code that needs further attention (e.g. `//` FIXME, `//` TODO, etc.).
    6060 * Comments shall be written in gramatically correct English.
    6161 * Comments describing action should be written in infinitive tense (/* Create a new entry on the stack. */)
     
    7070=== Miscellaneous ===
    7171
    72  * Copyright headers must follow the [wiki:CopyrightRules copyright rules]
    73  * Do *not* use Yoda comparisons (e.g. NULL == ptr)
     72 * For vertical spacing (not indentation) spaces instead of tabs should be used (this enables the code to look consistent regardless of the tab size).
     73 * Copyright headers must follow the [wiki:CopyrightRules copyright rules].
     74 * Do **not** use Yoda comparisons (e.g. NULL == ptr)