Updated NEP 1 : Style Guide for Nimrod Code (markdown)
This commit is contained in:
parent
81268d3a98
commit
24c0d95100
|
@ -32,17 +32,16 @@ Spacing and Whitespace Conventions
|
|||
tedious, and not all editors have support for auto-alignment of code
|
||||
sections, plus re-alignment of code blocks causes larger, less distinct
|
||||
code diffs.
|
||||
```nimrod
|
||||
# This is bad, as the next time someone comes to edit this code block, they
|
||||
# must re-align all the assignments again:
|
||||
type
|
||||
WordBool* = int16
|
||||
CalType* = int
|
||||
CalId* = int
|
||||
LongLong* = int64
|
||||
LongLongPtr* = ptr LongLong
|
||||
```
|
||||
<br>
|
||||
```nimrod
|
||||
# This is bad, as the next time someone comes to edit this code block, they
|
||||
# must re-align all the assignments again:
|
||||
type
|
||||
WordBool* = int16
|
||||
CalType* = int
|
||||
CalId* = int
|
||||
LongLong* = int64
|
||||
LongLongPtr* = ptr LongLong
|
||||
```
|
||||
|
||||
Naming Conventions
|
||||
------------------
|
||||
|
|
Loading…
Reference in New Issue