Updated Style Guide for Nim Code (markdown)
This commit is contained in:
parent
bb3a856c0c
commit
564bb8a8dc
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue