Make comma at the end of line optional

Jordan Harband ljharb at
Tue Sep 12 23:39:42 UTC 2017

I would take commas over a mixture a thousand times over; I'd do the same
with semicolons - it's not the presence or absence of these tokens that
causes a problem, it's the ambiguity.

Introducing the same horrific ambiguity around semicolons, for commas, does
not sound like a good idea.

On Tue, Sep 12, 2017 at 1:57 PM, Tab Atkins Jr. <jackalmage at>

> On Tue, Sep 12, 2017 at 1:49 PM, Алексей <agat00 at> wrote:
> > Think of it from a different way: if there would be no ',' how would you
> > react on the idea of adding it? Peaty sour every one would decide that
> would
> > be a complete nonsense.
> This sort of hypothetical isn't useful; you're not proposing switching
> over to *solely* comma-less, you're proposing a *mixture* of comma and
> comma-less being allowed.  That has very different ergonomics than
> either all-comma or all-comma-less.
> The hypothetical comma-less language would also have made many
> different syntax decisions over the years to accommodate that, which
> current JS has *not* made.  This causes the sorts of problems that
> Claude/etc have pointed out.
> ~TJ
> _______________________________________________
> es-discuss mailing list
> es-discuss at
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the es-discuss mailing list