User:Avarma/Coding Style: Difference between revisions

Jump to navigation Jump to search
added notes on variable naming
(added more)
(added notes on variable naming)
Line 65: Line 65:
     doThing();
     doThing();
     doOtherThing();
     doOtherThing();
= Variable Naming =
I do prefix all global variables with <tt>g</tt>.
I don't prefix all function parameters with <tt>a</tt>.


= Private Variables, Methods, and Closures =
= Private Variables, Methods, and Closures =
93

edits

Navigation menu