Updated NEP 1 : Style Guide for Nim Code (markdown)
This commit is contained in:
parent
a1328818cc
commit
93d4fa0158
|
@ -7,7 +7,7 @@ supports a variety of code and formatting styles, it is nevertheless beneficial
|
||||||
that certain community efforts, such as the standard library, should follow
|
that certain community efforts, such as the standard library, should follow
|
||||||
a consistent set of style guidelines when suitable. This enhancement
|
a consistent set of style guidelines when suitable. This enhancement
|
||||||
proposal aims to list a series of guidelines that the standard library should
|
proposal aims to list a series of guidelines that the standard library should
|
||||||
follow. Note that these are *guidelines* only. The nature of Nimrod being
|
follow. Note that these are *guidelines* only. The nature of Nim being
|
||||||
as flexible as it is, there will be parts of this style guide that don't make
|
as flexible as it is, there will be parts of this style guide that don't make
|
||||||
sense in certain contexts. Furthermore, just as
|
sense in certain contexts. Furthermore, just as
|
||||||
[Python's style guide](http://legacy.python.org/dev/peps/pep-0008/) changes
|
[Python's style guide](http://legacy.python.org/dev/peps/pep-0008/) changes
|
||||||
|
@ -172,6 +172,6 @@ be changed in the future.
|
||||||
|
|
||||||
# Multiple arguments on new lines, aligned to the opening parenthesis
|
# Multiple arguments on new lines, aligned to the opening parenthesis
|
||||||
# Best suited for 'simple' procedure calls
|
# Best suited for 'simple' procedure calls
|
||||||
startProcess(nimrodExecutable, currentDirectory, compilerArguments
|
startProcess(nimExecutable, currentDirectory, compilerArguments
|
||||||
environment, processOptions)
|
environment, processOptions)
|
||||||
```
|
```
|
Loading…
Reference in New Issue