Kevin Smith wrote:


    1) Non-mapping iteration (e.g., `forEach()`)
    2) Lightweight callbacks


Or, mappings to void.

Good point -- forEach is an explicit and more efficient map with garbage result full of undefineds.

    3) Killing off 90% of `var self = this` occurrences.


Here's is the iffy part. While getting rid of explicit this-binding is definitely a good thing, we want to make sure that goal fits in with the design at large.

Your quantitative study helped here.

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

Reply via email to