On Wed, Mar 28, 2012 at 3:17 PM, Kevin Smith <[email protected]> wrote:

> I'm not sure how to quantify this, but I believe that if such a bind
> operator were available, it would be overwhelmingly be used to simulate
> lexical |this|.
>
> If syntax is about optimizing the common case, then shouldn't we just
> provide a function form which lexically binds |this|?
>

Thats not the only common case. It might be *the most* common, but I see a
lot method pointers that need binding too. If you saw my proposal in the
other thread, I was hoping to use this binding operator to separate the
lexical binding of this from the shorter function syntax.

- Russ


>
> kevin
>
>
> _______________________________________________
> es-discuss mailing list
> [email protected]
> https://mail.mozilla.org/listinfo/es-discuss
>
>
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to