Make comma at the end of line optional

Isiah Meadows isiahmeadows at gmail.com
Wed Sep 13 19:05:01 UTC 2017


Oh okay. Granted, that's not always a safe assumption on this list,
though...

(It's actually a bit of a refreshing surprise when people present
well-researched proposals here, to be honest.)

On Wed, Sep 13, 2017, 15:00 Tab Atkins Jr. <jackalmage at gmail.com> wrote:

> I believe Bob was engaging in reductio ad absurdum, Isiah. ^_^
>
> On Wed, Sep 13, 2017 at 11:51 AM, Isiah Meadows <isiahmeadows at gmail.com>
> wrote:
> > What about...
> >
> > - variable (var)
> >
> > - donuts (do)
> >
> > - forest (for)
> >
> > - awaiter (await, module-specific)
> >
> > - async (https://github.com/caolan/async)
> >
> > - className (class)
> >
> > - letters (let)
> >
> > - constants (const)
> >
> > Fun fact: all of these are valid, and many of them are relatively common.
> > Please consider the ramifications of such a feature before proposing
> them.
> >
> > On Wed, Sep 13, 2017, 14:22 Bob Myers <rtm at gol.com> wrote:
> >>
> >> Personally, I am annoyed by the extra typing required for spaces.
> >> I propose that we have a new kind of ASI: automatic SPACE insertion.
> >>
> >> For instance, you could then write
> >>
> >> ```js
> >>     functionfoobar(){return42;}
> >> ```js
> >>
> >>
> >>
> >>
> >> On Wed, Sep 13, 2017 at 11:25 PM, Naveen Chawla <naveen.chwl at gmail.com>
> >> wrote:
> >>>
> >>> `x` <whitespace> `[y]` would be invalid syntax, right?
> >>> So
> >>> ```js
> >>> x
> >>> [y]
> >>> ```
> >>> would automatically insert a comma in the case of a function call
> >>> arguments list, right?
> >>
> >> _______________________________________________
> >> es-discuss mailing list
> >> es-discuss at mozilla.org
> >> https://mail.mozilla.org/listinfo/es-discuss
> >
> >
> > _______________________________________________
> > es-discuss mailing list
> > es-discuss at mozilla.org
> > https://mail.mozilla.org/listinfo/es-discuss
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20170913/6053cdd4/attachment.html>


More information about the es-discuss mailing list