Open main menu
Home
Random
Log in
Settings
About Sugar Labs
Disclaimers
Sugar Labs
Search
Changes
← Older edit
Newer edit →
Karma
(view source)
Revision as of 09:47, 21 January 2010
2 bytes added
,
09:47, 21 January 2010
→Conventions
Line 85:
Line 85:
* Project Documentation kept in the Sugar Labs wiki
* Project Documentation kept in the Sugar Labs wiki
* Coding conventions: Based on [http://www.dojotoolkit.org/developer/StyleGuide Dojo Style Guide]
* Coding conventions: Based on [http://www.dojotoolkit.org/developer/StyleGuide Dojo Style Guide]
−
** Use
camel-case
for function names and variables
+
** Use
sadCamelCase
for function names and variables
** Exception to above -- object constructors should start with a capital letter
** Exception to above -- object constructors should start with a capital letter
** boolean variables should be prefixed with "is", "has", "can", or "should"
** boolean variables should be prefixed with "is", "has", "can", or "should"
BryanWB
359
edits