Coding Standards for CIVL models
- place one blank line between elements in a file (an element is a variable, method, or type definition, etc)
- 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
- break up a function into smaller pieces if it gets too long
- use two spaces for alignment
Last modified
12 years ago
Last modified on 02/21/14 11:00:25
Note:
See TracWiki
for help on using the wiki.
