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 16:11:18 +0000
To: "Pete L." <plamoni@gmail.com>, "WebPlatform.org" <public-webplatform@w3.org>
Message-ID: <F9981AFB970564408FEB7DFCF62D44084367CE31@SC-MBX01-4.TheFacebook.com>
On 10/17/12 5:14 PM, "Pete L." <plamoni@gmail.com> wrote:
>> i) a + 1; //returns 5
>> This is simply wrong; "return" has a specific meaning in JS (returning
>>a value from a function).  Better not to confuse that with anything else.
>
>Someone should tell that to Mozilla:
>https://developer.mozilla.org/en-US/docs/JavaScript/Guide/Values,_variable
>s,_and_literals

Sounds like this was fixed in the meantime.

>If no one minds, I might get started on a JS style guide.

TBH, I see little value in creating YASG (Yet Another Style Guide).

The community should vote for an existing one or go styleguide-less.

--tobie
Received on Wednesday, 17 October 2012 16:11:43 UTC

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