Karma: Difference between revisions

BryanWB (talk | contribs)
BryanWB (talk | contribs)
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"