Changes between Version 11 and Version 12 of CodingRules


Ignore:
Timestamp:
11/26/13 15:41:42 (11 years ago)
Author:
tbretz
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • CodingRules

    v11 v12  
    36360. Initialization of all data members using their constructor (see example) is preferred over using assignments (optimization reasons)
    37370. 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)
     380. avoid using c-style comments (/* ... */) if you comment a whole line
    3839
    3940