Updated Coding guidelines (textile)

This commit is contained in:
dom96 2013-01-24 09:01:34 -08:00
parent 7be850fbeb
commit 07e3fc30a0
1 changed files with 0 additions and 7 deletions

View File

@ -1,10 +1,3 @@
h1. Coding guidelines
* Use the implicit "result" variable and try to avoid "return".
* Do not use templates/macros when an inline proc suffices.
* Do not use "nil" for strings and sequences. The procs of the standard library which misuse "nil" as an error value will be deprecated.
* Use "nimrod check myfile.nim" to check your program for errors, without code generation. This makes the process quicker.
h1. Using reserved words as identifiers
* You can use the slanted quote string syntax if you need to use a reserved word as an identifier: <code>var `type`: int</code>