User:Avarma/Coding Style: Difference between revisions

Added more to introduction
(added notes on variable naming)
(Added more to introduction)
Line 1: Line 1:
= Introduction =
= Introduction =


My coding style is generally a compromise between the [https://developer.mozilla.org/en/JavaScript_style_guide Mozilla JavaScript Style Guide], the vagaries of what [http://www.toolness.com/wp/?p=40 js2-mode] happens to be compatible with, and my own personal tastes.
My JavaScript coding style is generally a compromise between the [https://developer.mozilla.org/en/JavaScript_style_guide Mozilla JavaScript Style Guide], the vagaries of what [http://www.toolness.com/wp/?p=40 js2-mode] happens to be compatible with, and my own personal tastes.  It's intended for use with any kind of JS code, whether it be in a Firefox extension, Web content, or something else.


Because I started the [[Labs/Jetpack|Jetpack]] and [[Labs/Ubiquity|Ubiquity]] projects, much of their code happens to conform to this style.
Because I started the [[Labs/Jetpack|Jetpack]] and [[Labs/Ubiquity|Ubiquity]] projects, much of their code happens to conform to this style.
93

edits