Browse Source

Coding standards update.

cl-refactor
Gav Wood 10 years ago
parent
commit
f8a28c4953
  1. 2
      CodingStandards.txt

2
CodingStandards.txt

@ -11,7 +11,7 @@ d. Never place condition bodies on same line as condition.
e. Space between first paren and keyword, but *not* following first paren or preceeding final paren.
f. No spaces when fewer than intra-expression three parens together; when three or more, space according to clarity.
g. No spaces for subscripting.
h. No space before ':' but one after it.
h. No space before ':' but one after it, except in the ternary operator: one on both sides.
i. Space all other operators.
j. Braces, when used, always have their own lines and are at same indentation level as "parent" scope.

Loading…
Cancel
Save