Updated Style Guide for Nim Code (markdown)

This commit is contained in:
Federico Ceratto 2016-04-02 18:44:48 +01:00
parent bb3a856c0c
commit 564bb8a8dc
1 changed files with 1 additions and 1 deletions

View File

@ -113,7 +113,7 @@ 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.
- Uppercase acronyms (e.g. GPU) should be written in lowercase/capitalized: ``parseUrl`` rather than ``parseURL``, ``checkHttpHeader`` instead of ``checkHTTPHeader`` etc.
### Coding Conventions ###
- The 'return' statement should only be used when it's control-flow properties