Make comma at the end of line optional

kdex kdex at kdex.de
Tue Sep 12 17:12:02 UTC 2017


I'm not sure how your text editor is set up, but you may or may not be able to 
tell soft-wrapping apart from an actual EOL character if you have long lines.

I don't like the idea of making whitespace of any kind significant, which is 
why I would agree with Jordan.

On Tuesday, September 12, 2017 6:57:10 PM CEST Алексей wrote:
> Don't you think that line break is a strong punctuation by itself?
> 
> 2017-09-12 19:54 GMT+03:00 Jordan Harband <ljharb at gmail.com>:
> > Punctuation isn't noise.
> > 
> > On Tue, Sep 12, 2017 at 9:51 AM, dante federici <
> > 
> > c.dante.federici at gmail.com> wrote:
> >> I think the only place I see as a current inconsistency is with class
> >> definitions vs object definitions. It probably should have been looped
> >> into
> >> the object shorthand definition:
> >> 
> >> https://github.com/tc39/proposal-class-fields
> >> ```js
> >> class MyClass {
> >> 
> >>   prop = 123
> >>   constructor() {}
> >>   method() {}
> >> 
> >> }
> >> ```
> >> vs
> >> ```js
> >> const myObj = {
> >> 
> >>   prop: 123,
> >>   constructor(){},
> >>   method(){},
> >> 
> >> };
> >> ```
> >> 
> >> Also, to wit on the class-fields proposal and this issue:
> >> https://github.com/tc39/proposal-class-fields/issues/7
> >> 
> >> _______________________________________________
> >> 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 --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20170912/98029de1/attachment.sig>


More information about the es-discuss mailing list