W3C home > Mailing lists > Public > public-webplatform@w3.org > October 2012

Re: JavaScript/ECMAScript Styling and Citation

From: Tobie Langel <tobie@fb.com>
Date: Wed, 17 Oct 2012 22:00:33 +0000
To: "Pete L." <plamoni@gmail.com>, "WebPlatform.org" <public-webplatform@w3.org>
Message-ID: <F9981AFB970564408FEB7DFCF62D44084367D5BF@SC-MBX01-4.TheFacebook.com>
On 10/17/12 10:18 PM, "Pete L." <plamoni@gmail.com> wrote:

>So, what I'm thinking is not necessarily a style guide that talks about
>things like the use of "===" vs. "==", or the use of single-quotes vs.
>double-quotes. Those can be addressed by selecting an existing guide from
>one of those above (my vote is for jQuery's, as it's short, simple, and
>to the point).

Even that's going to be tough. Your vote is for jQuery's. I hate it with a
passion (which is rather rare; I'm generally over this whole style thing).

>However, I think that we should supplement with a guide on variable
>naming, expression-value commenting, and anything else we determine
>should be addressed specifically to bring consistency to example code.

What's the value of consistency? Of course it makes sense in a single code
base. But here?

--tobie
Received on Wednesday, 17 October 2012 22:03:32 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 May 2013 19:57:34 UTC