Changes between Version 3 and Version 4 of Code Style
- Timestamp:
- 2008-08-03 09:18:10 (2 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Code Style
v3 v4 90 90 == Braces == 91 91 92 Even if you only have one statement after if, for or whatever, use braces (it avoids some of the most annoying errors). Use OTBS, i.e. put the opening brace in the same line as the control statement and the closing brace in its own line (on the same indentation level as the control statement)92 Even if you only have one statement after if, for or whatever, use braces (it avoids some of the most annoying errors). Put the opening brace in the same line as the control statement and the closing brace in its own line (on the same indentation level as the control statement) 93 93 94 94 === Example ===
