Changes between Version 3 and Version 4 of CodingStandards


Ignore:
Timestamp:
2009-05-17T01:16:09Z (16 years ago)
Author:
warner
Comment:

(tuples), allow module_name_with_underscores

Legend:

Unmodified
Added
Removed
Modified
  • CodingStandards

    v3 v4  
    1010=== naming and layout ===
    1111
    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.
    13  * Always put parenthesis around tuples. Write {{{(spam, eggs) = fetch_breakfast()}}} instead of {{{spam, eggs = fetch_breakfast()}}}.
     12 * Use {{{underscore_separated_names}}} for functions, {{{CamelCapNames}}} for classes, {{{all_lower_case_names}}} 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 * Put parenthesis around tuples if it helps make the code more readable, leave them off it not.
    1414
    1515=== comments, idioms, miscellany, license ===