On Feb 19, 2008 2:26 PM, Cassie <[EMAIL PROTECTED]> wrote:
> Awesome Kevin!
>
> I just wanted to point out that right now our code doesn't follow this
> Java
> very well:
I know :) -- once we get consensus we'll go through and fix conformance
issues. I was looking at what the "most prevalent" us
Awesome Kevin!
I just wanted to point out that right now our code doesn't follow this Java
very well:
"Always use 2 space indents, unless you're wrapping a line in which case you
should indent 4 spaces or indent to line up arguments. 4 space indentation
is generally preferred, but line up argumen
Thanks for writing up the Wikis!
A few things on the tip of my mind that could be added to the JS style guide:
* Use the || and && shortcuts liberally (e.g. z = x || y; even if x is
not a boolean value).
Avoid code verbosity such as:
if (x) {
z = x;
} else {
z = y;
}
or
z = x ? x : y;
* Use
3 matches
Mail list logo