Russell Leggett russell.leggett at gmail.com
Thu Nov 17 05:13:52 PST 2011

On Thu, Nov 17, 2011 at 8:08 AM, David Herman <dherman at mozilla.com> wrote:

> On Nov 17, 2011, at 3:53 AM, Dmitry Soshnikov wrote:
> Once again, it's absolutely the same approach which I showed yesterday
> with using `extends' (
> https://mail.mozilla.org/pipermail/es-discuss/2011-November/018478.html).
> My point has absolutely nothing to do with semantics and everything to do
> with syntax. And `extends` fails completely as the syntax. It's backwards
> -- the prototype doesn't extend the own-properties!
> Look closer - it is being used as a prefix operator, not an infix operator.

    extends Proto {...}

This works well with any of the proposal "class as operator"

    class extends Proto {...}

    class Point2d extends Point {...}

- Russ
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20111117/802bc30b/attachment.html>

More information about the es-discuss mailing list