Changes

Jump to: navigation, search

SeaMonkey:MailNews:CodingStyle

26 bytes removed, 20:44, 19 October 2009
no edit summary
<div style="color:red">This is still a draft and may change slightly!<br>Comments welcome!</div>
 
 
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 ====
235
edits

Navigation menu