Re: JavaScript/ECMAScript Styling and Citation

On Wed, Oct 17, 2012 at 9:11 AM, Tobie Langel <tobie@fb.com> wrote:

> 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.
>

I'd strongly prefer that we have *a* style guide so we can at least
*aim *for consistency.
I think I prefer using an existing one over creating a new one, just
because I know how much work/debate/pain would be involved in creating a
new one.

>
> --tobie
>
>
>

Received on Wednesday, 17 October 2012 16:16:58 UTC