Changes between Version 27 and Version 28 of CodingStandards
- Timestamp:
- 2014-02-26T03:42:26Z (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
CodingStandards
v27 v28 10 10 === Naming and Layout === 11 11 12 * Use {{{underscore_separated_names}}} for functions, {{{ CamelCapNames}}} for classes, {{{alllowercasenames}}} for modules, and {{{ALL_CAPS_NAMES}}} for constants. Use all lower-case variable names (e.g. {{{variable_name}}} or {{{variablename}}}). Prepend a leading underscore to private names.12 * Use {{{underscore_separated_names}}} for functions, {{{UpperCamelCapNames}}} for classes, {{{alllowercasenames}}} for modules, and {{{ALL_CAPS_NAMES}}} for constants. Use all lower-case variable names (e.g. {{{variable_name}}} or {{{variablename}}}). Prepend a leading underscore to private names. 13 13 * Put parentheses around tuples if it helps make the code more readable, leave them off if not. 14 14