Updated Style Guide for Nim Code (markdown)

This commit is contained in:
Andreas Rumpf 2015-05-19 13:43:34 +02:00
parent ba60587912
commit 176f0ec941
1 changed files with 2 additions and 0 deletions

View File

@ -113,6 +113,8 @@ changed in the future.
LinkToFile
```
- In the age of HTTP, HTML, FTP, TCP, IP, UTF, WWW it is foolish to pretend these are somewhat special words requiring all uppercase. Instead tread them as what they are: Real words. So it's ``parseUrl`` rather than ``parseURL``, ``checkHttpHeader`` instead of ``checkHTTPHeader`` etc.
### Coding Conventions ###
- The 'return' statement should only be used when it's control-flow properties
are required. Use a procedures implicit 'result' variable instead. This