5 ms·
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.
by vatotemking 10y ago
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.
- epmatsw 10y agoTwo 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.
- steveax 10y agoProjects were merged: https://github.com/jashkenas/underscore/issues/2182 https://github.com/jashkenas/underscore/issues/2182 https://github.com/underdash/underdash/issues/14 https://github.com/underdash/underdash/issues/14
- hkjgkjy 10y agoIt'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/ http://ramdajs.com/ [1] http://lodash.com/ http://lodash.com/
- jdd 10y agoYou also dig Lodash v4's FP modules https://github.com/lodash/lodash/wiki/FP-Guide https://github.com/lodash/lodash/wiki/FP-Guide