Re: Class data member declarations proposal idea

2018-08-10 Thread Logan Smyth
> That and the syntax. The syntax snippet you posted is identical to what is already supported by the class fields proposal alongside Flowtype. You can see this with Babel: https://babeljs.io/repl/#?babili=false&browsers=&build=&builtIns=false&spec=false&loose=true&code_lz=MYGwhgzhAEAa0FMAeAXBA7AJ

Re: Class data member declarations proposal idea

2018-08-10 Thread Aaron Gray
On Fri, 10 Aug 2018 at 00:09, Logan Smyth wrote: > It might help if you could clarify how your proposal diverges from the > class fields proposal that you linked to. From purely a syntactic view, > ignoring the type annotations, I don't see an obvious difference, so it is > hard to tell what your

Re: Class data member declarations proposal idea

2018-08-09 Thread Logan Smyth
It might help if you could clarify how your proposal diverges from the class fields proposal that you linked to. From purely a syntactic view, ignoring the type annotations, I don't see an obvious difference, so it is hard to tell what your expectations are. You state "I have shown the idea of decl

Re: Class data member declarations proposal idea

2018-08-09 Thread Aaron Gray
On Wed, 8 Aug 2018 at 14:34, Ranando King wrote: > Did you see any similarity with my proposal-object-members > ? It doesn't have type > annotation either. However, that's probably something best left to a > separate proposal since it would affec

Re: Class data member declarations proposal idea

2018-08-08 Thread Ranando King
Did you see any similarity with my proposal-object-members ? It doesn't have type annotation either. However, that's probably something best left to a separate proposal since it would affect private and public members alike. On Wed, Aug 8, 2018 at

Re: Class data member declarations proposal idea

2018-08-08 Thread Aaron Gray
On Tue, 7 Aug 2018 at 22:34, Waldemar Horwat wrote: > See this proposal, currently at stage 3: > https://github.com/tc39/proposal-class-fields > > Yes I did reference the proposal my mail. -- Aaron Gray Independent Open Source Software Engineer, Computer Language Researcher, Information Theori

Re: Class data member declarations proposal idea

2018-08-07 Thread Isiah Meadows
Check out the various class-related proposals at https://github.com/tc39/proposals. This is practically identical to the existing class field proposal, just mod the type annotation thing. On Tue, Aug 7, 2018, 15:17 Aaron Gray wrote: > Hi, > > I am looking for help working on a TC39 proposal for

Re: Class data member declarations proposal idea

2018-08-07 Thread Waldemar Horwat
See this proposal, currently at stage 3: https://github.com/tc39/proposal-class-fields Waldemar ___ es-discuss mailing list es-discuss@mozilla.org https://mail.mozilla.org/listinfo/es-discuss

Class data member declarations proposal idea

2018-08-07 Thread Aaron Gray
Hi, I am looking for help working on a TC39 proposal for declaring class data members, their default values, and possibly annotated typing. The fact that this is missing means there is little continuity between classes and existing prototypical object declarations. I have been moving Backbone.js a