Changes between Initial Version and Version 1 of Coding Standards for CIVL models
- Timestamp:
- 02/21/14 11:00:25 (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Coding Standards for CIVL models
v1 v1 1 == Coding Standards for CIVL models == 2 3 1. place one blank line between elements in a file (an element is a variable, method, or type definition, etc) 4 2. all local variables declared in a block (i.e., a compound statement in curly braces) should appear at the top of the block, followed by a blank line, followed by the statements in that block; this greatly enhances readability 5 3. break up a function into smaller pieces if it gets too long 6 4. use two spaces for alignment
