On Thu, Feb 23, 2012 at 4:44 AM, Arnout Kazemier <[email protected]> wrote:

> Comma first solves that perfectly, no need to jshint that ;D
>

I wouldn't say *perfectly*. There's a gaping hole in the comma-first style:

var arr = [ "foo",
          , "bar",
          , "baz"
          ]

Did you spot the error right away? Neither did Brendan Eich. But a linter
would have.

If anything this little deficiency in comma-first demands a linter.

-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to