Yet another class declaration proposal
Jake Verbaten
raynos2 at gmail.com
Thu Nov 3 09:52:56 PDT 2011
I like this one mainly for the line
class declarations and object literals should have the same features
However if they have the same features then why bother with class at all.
Why not just have
let Monster = Being <| { ... }
This way we don't introduce the class keyword which is confusing and loaded
with assumptions about what it does and means.
On Thu, Nov 3, 2011 at 4:14 PM, Axel Rauschmayer <axel at rauschma.de> wrote:
> FWIW: I’ve picked what I like from the various proposals.
>
> https://gist.github.com/1336846
>
> --
> Dr. Axel Rauschmayer
> axel at rauschma.de
>
> home: rauschma.de
> twitter: twitter.com/rauschma
> blog: 2ality.com
>
>
>
> _______________________________________________
> 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/20111103/cd4368e5/attachment.html>
More information about the es-discuss
mailing list