Updated NEP 1 : Style Guide for Nimrod Code (markdown)

This commit is contained in:
Varriount 2014-07-19 19:07:40 -07:00
parent 81268d3a98
commit 24c0d95100
1 changed files with 10 additions and 11 deletions

View File

@ -32,17 +32,16 @@ Spacing and Whitespace Conventions
tedious, and not all editors have support for auto-alignment of code tedious, and not all editors have support for auto-alignment of code
sections, plus re-alignment of code blocks causes larger, less distinct sections, plus re-alignment of code blocks causes larger, less distinct
code diffs. code diffs.
```nimrod ```nimrod
# This is bad, as the next time someone comes to edit this code block, they # This is bad, as the next time someone comes to edit this code block, they
# must re-align all the assignments again: # must re-align all the assignments again:
type type
WordBool* = int16 WordBool* = int16
CalType* = int CalType* = int
CalId* = int CalId* = int
LongLong* = int64 LongLong* = int64
LongLongPtr* = ptr LongLong LongLongPtr* = ptr LongLong
``` ```
<br>
Naming Conventions Naming Conventions
------------------ ------------------