From 07e3fc30a0dbe2b63ffb71eb8eaf0594355cec82 Mon Sep 17 00:00:00 2001 From: dom96 Date: Thu, 24 Jan 2013 09:01:34 -0800 Subject: [PATCH] Updated Coding guidelines (textile) --- Tips-and-tricks.textile | 7 ------- 1 file changed, 7 deletions(-) diff --git a/Tips-and-tricks.textile b/Tips-and-tricks.textile index 81366b3..5a3bd2a 100644 --- a/Tips-and-tricks.textile +++ b/Tips-and-tricks.textile @@ -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: var `type`: int