Re: David’s ProxyMap

Tom Van Cutsem tomvc.be at gmail.com
Wed Oct 24 16:20:43 PDT 2012


2012/10/24 Yehuda Katz <wycats at gmail.com>

>
> I'm not sure I understand the benefit of making it easy to develop APIs
> where foo.bar() is not roughly equivalent to (x = foo.bar).apply(foo). Am I
> misunderstanding something?
>

No, that's indeed another way of phrasing it. Proxies don't support
invoke() in part because we didn't want to encourage such APIs.

Cheers,
Tom
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20121024/5914020d/attachment.html>


More information about the es-discuss mailing list