Updated Style Guide for Nim Code (markdown)
This commit is contained in:
parent
febe2b36a0
commit
63de6d0385
|
@ -19,7 +19,7 @@ Style Guidelines
|
||||||
### Spacing and Whitespace Conventions ###
|
### Spacing and Whitespace Conventions ###
|
||||||
- Lines should be no longer than 80 characters. Limiting the amount of
|
- Lines should be no longer than 80 characters. Limiting the amount of
|
||||||
information present on each line makes for more readable code - the reader
|
information present on each line makes for more readable code - the reader
|
||||||
has smaller chunks to process.
|
has smaller chunks to process. If your line of code more than 80 character make it less than 80 character.
|
||||||
|
|
||||||
- 2 spaces should be used for indentation of blocks; tabstops are not allowed
|
- 2 spaces should be used for indentation of blocks; tabstops are not allowed
|
||||||
(the compiler enforces this). Using spaces means that the appearance of code
|
(the compiler enforces this). Using spaces means that the appearance of code
|
||||||
|
|
Loading…
Reference in New Issue