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
|
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
|
||||||
------------------
|
------------------
|
||||||
|
|
Loading…
Reference in New Issue