Changes between Initial Version and Version 1 of Coding Standards for CIVL models


Ignore:
Timestamp:
02/21/14 11:00:25 (12 years ago)
Author:
zmanchun
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Coding Standards for CIVL models

    v1 v1  
     1== Coding Standards for CIVL models ==
     2
     31. place one blank line between elements in a file (an element is a variable, method, or type definition, etc)
     42. 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
     53. break up a function into smaller pieces if it gets too long
     64. use two spaces for alignment