Changes between Version 3 and Version 4 of CStyle
- Timestamp:
- 2013-05-23T17:55:40Z (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
CStyle
v3 v4 57 57 === Comments === 58 58 59 * Only /* */ comments are allowed. // comments are prohibited59 * In general, only /* */ comments are allowed. `//` comments can be used only to mark transitional code that needs further attention (e.g. `//` FIXME, `//` TODO, etc.). 60 60 * Comments shall be written in gramatically correct English. 61 61 * Comments describing action should be written in infinitive tense (/* Create a new entry on the stack. */) … … 70 70 === Miscellaneous === 71 71 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)