Changes between Version 11 and Version 12 of CodingRules
- Timestamp:
- 11/26/13 15:41:42 (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
CodingRules
v11 v12 36 36 0. Initialization of all data members using their constructor (see example) is preferred over using assignments (optimization reasons) 37 37 0. Keep your code linear! Avoid using a lot of if-else and blocks in loops. Use *continue* and *break* instead (easier to read, human brains have difficulties to handle to many levels, better fits on the screen, easier to optimize) 38 0. avoid using c-style comments (/* ... */) if you comment a whole line 38 39 39 40