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 02:40, 23 August 2009
262 bytes added
,
02:40, 23 August 2009
→Conventions
Line 68:
Line 68:
* Working demos at http://karma.sugarlabs.org
* Working demos at http://karma.sugarlabs.org
* Project Documentation kept in the Sugar Labs wiki
* Project Documentation kept in the Sugar Labs wiki
−
*
Code naming
conventions: Based in [http://www.gnu.org/prep/standards/standards.html GNU standards]
+
*
Coding
conventions: Based in [http://www.gnu.org/prep/standards/standards.html GNU standards]
+
** Use camel-case for function names and variables
+
** Exception to above -- object constructors should start with a capital letter
+
** Set column-width to 79 characters (from Python standard practice)
+
** Whenever possible, use jslint and then teach the rest of us how
* File naming conventions: lowercase letters, underscore instead of spaces (need to write more about it)
* File naming conventions: lowercase letters, underscore instead of spaces (need to write more about it)
BryanWB
359
edits