News for hackers. Stuff that matters.
Re:Lists of JavaScript methods which you can use natively by vatotemking on Friday July 01, 2016 @09:11AM (#12015704)
Im quite out of the loop in the JS world and wanted to ask what happened to underscore? It used to be the de facto utility belt for JS.
Re:Lists of JavaScript methods which you can use natively by epmatsw on Friday July 01, 2016 @09:50AM (#12015974)
Two things from my memory. 1. They hit some bad PR when they pushed a badly broken release in a point update. Turned out that their testing was not robust, while Lodash's is excellent, which further hurt them (this is when I first remember hearing about Lodash) 2. Lodash adapted better to the module landscape, especially by splitting all of their functions into separate packages.
Re:Lists of JavaScript methods which you can use natively by hkjgkjy on Friday July 01, 2016 @08:15PM (#12020691)
It's great, but there are better alternatives. Ramda[0] is great, auto-curries everything and has an api similar to Clojures, which is really great. Lodash[1] is a fork of Underscore, with some OOP-isms replaced for FP-isms, which I and many others prefer.

[0] http://ramdajs.com/

[1] http://lodash.com/

Re:Lists of JavaScript methods which you can use natively by jdd on Friday July 01, 2016 @11:13PM (#12021214)
You also dig Lodash v4's FP modules

https://github.com/lodash/lodash/wiki/FP-Guide

Re:Lists of JavaScript methods which you can use natively by steveax on Friday July 01, 2016 @11:24AM (#12016834)