235
edits
Changes
no edit summary
Basically, the [https://developer.mozilla.org/En/Developer_Guide/Coding_Style Mozilla C++ coding style guide rules] apply. But our MailNews code has <strike>grown</strike> evolved over the years and can be rather <strike>twisted</strike> complex, thus we favour '''readability''' over brevity.
([http://en.wikipedia.org/wiki/Indent_style Wikipedia] has an interesting comparison of the most common quoting style religions.)
=== JavaScript ===
In general, follow the C++ [https://developer.mozilla.org/en/JavaScript_style_guide Mozilla JavaScript rules], but take care of these exceptions:
==== Capitalize function names ====