From 176f0ec941c825d54249e580241dd2009c36a4e9 Mon Sep 17 00:00:00 2001 From: Andreas Rumpf Date: Tue, 19 May 2015 13:43:34 +0200 Subject: [PATCH] Updated Style Guide for Nim Code (markdown) --- Style-Guide-for-Nim-Code.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Style-Guide-for-Nim-Code.md b/Style-Guide-for-Nim-Code.md index 240a901..824b7db 100644 --- a/Style-Guide-for-Nim-Code.md +++ b/Style-Guide-for-Nim-Code.md @@ -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