John J Barton
johnjbarton at johnjbarton.com
Mon Apr 23 08:32:31 PDT 2012
On Mon, Apr 23, 2012 at 3:53 AM, Alex Russell <alex at dojotoolkit.org> wrote:
> The new forms we're adding (methods and arrows) have the potential to
> change this radically, causing a large percentage of functions encountered
> by programmers to have binding. If that binding is hard-binding, .call()
> and .apply() break in the minds of users. Perhaps that's fine by you, but
> in addition to being a contractual failure, it removes a form of
> genericness which is unique in the language.
Sorry if I missed reading about this but: why can't we re-bind 'this" in
bound functions when using call(), apply() ? I'm sure it will make more
work for JIT optimizers but they are very good and love this kind of
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the es-discuss