3 ms·
There are betterse ways already: underscore.js(http://documentcloud.github.com/underscore/ http://documentcloud.github.com/underscore/) and coffescript(http://j
by DanielRibeiro 16y ago
There are betterse ways already: underscore.js(http://documentcloud.github.com/underscore/ http://documentcloud.github.com/underscore/) and coffescript(http://jashkenas.github.com/coffee-script/ http://jashkenas.github.com/coffee-script/, which also has its own underscore.coffee http://jashkenas.github.com/coffee-script/documentation/docs/underscore.html http://jashkenas.github.com/coffee-script/documentation/docs...). All three started by Jeremy Ashkenas (http://www.documentcloud.org/about http://www.documentcloud.org/about).
- angusC 16y agoHi Daniel - I wrote the article. You reference some excellent high order functions, we now also get pretty much the same functions for free in every browser except IE8. We get them with jQuery and Prototype.js too. But the point of the article was: now that for-loops are gaining obsolescence as conventional array iterators, what can we use them for (and how do we have fun with them). A bit like a "what to do with those old LPs" discussion - except I still love listening to LPs :-)