Changes between Version 3 and Version 4 of CodingStyle


Ignore:
Timestamp:
Nov 1, 2013 8:00:15 PM (4 years ago)
Author:
MichaelRay
Comment:

bad link. commenting for now.

Legend:

Unmodified
Added
Removed
Modified
  • CodingStyle

    v3 v4  
    55 * avoid global vars where possible.
    66  * If one is required, try to contain it to a single source file and declare it "static".
    7   * Global vars should have the first letter of each word capitalized, and no underscores should be used (e.g., MailGid, LastFolder, MailDir).
     7  * Global vars should have the first letter of each word capitalized, and no underscores should be used (e.g., !MailGid, !LastFolder, !MailDir).
    88 * re-use code as much as possible. There are many "library" functions. A major cause of bloat in ELM and PINE is the tremendous duplication of code... Help keep Mutt small!
    99 * when adding new options, make the old behavior the default.
     
    1111
    1212== Code Indentation ==
     13
     14{{{#!comment
     15link broken, domain doesn't exist, and no obvious replacement
    1316http://does-not-exist.org/mail-archives/mutt-dev/msg02172.html
     17}}}
    1418[[BR]]
    1519`indent -nce -bls --braces-after-if-line --brace-indent0  --case-indentation2 --indent-level2`