lmi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi-commits] [lmi] master 814ca84: Document the use of "z" as the place


From: Vadim Zeitlin
Subject: [lmi-commits] [lmi] master 814ca84: Document the use of "z" as the placeholder variable
Date: Fri, 23 Mar 2018 05:27:13 -0400 (EDT)

branch: master
commit 814ca848fe946e37f6b89f53614668a93545e2ac
Author: Vadim Zeitlin <address@hidden>
Commit: Vadim Zeitlin <address@hidden>

    Document the use of "z" as the placeholder variable
    
    Add another item to the naming conventions section of the style guide.
---
 vz/Style-guide.md | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/vz/Style-guide.md b/vz/Style-guide.md
index 70290cb..fac71a5 100644
--- a/vz/Style-guide.md
+++ b/vz/Style-guide.md
@@ -138,6 +138,11 @@ by the presence of `_` at the end.
 Although some legacy code does use this prefix, it shouldn't be used in new
 code if possible.
 
+### Standard variable names
+
+Use `z` for local variables whose names are unimportant (similar to `_` in some
+other languages).
+
 
 Other
 -----



reply via email to

[Prev in Thread] Current Thread [Next in Thread]