3 ms·
both eclipsed by ramda.js >> http://functionaltalks.org/2013/05/27/brian-lonsdorf-hey-underscore-youre-doing-it-wrong/ http://functionaltalks.org/2013/05/27/bri
by arcosdev 11y ago
both eclipsed by ramda.js >> http://functionaltalks.org/2013/05/27/brian-lonsdorf-hey-underscore-youre-doing-it-wrong/ http://functionaltalks.org/2013/05/27/brian-lonsdorf-hey-und...
- tracker1 11y agoI really like Ramda myself as well... Though there are a few bits that I prefer how lodash/underscore work... in terms of methods that will work against an object or an array. In Ramda it's more expressly separated, and not always a good ratio. I very much appreciate being able to use Ramda for composition of methods, which can mean much more concise code[1]. [1] https://github.com/tracker1/azure-config-util/blob/master/src/get-config/parse-raw.js https://github.com/tracker1/azure-config-util/blob/master/sr...
- kin 11y agohadn't heard of ramda.js until this comment. thanks! love what it provides w/o forcing anything on you.
- chamakits 11y agoIs it going really? If so in what way? At least mind share wise I've heard of lodash/underscore much more often than ramda. Only recently has it come up with some level of frequency.
- arcosdev 11y agocurrying is properly implemented in ramda, unlike lodash or underscore.
- chamakits 11y agoCurrying is great and all, but that in itself isn't a end all be all feature from which you could say that it is enough to eclipse lodash/underscore. Is there anything else about it to that makes it really "eclipse" them or is it more like "ramda is also nice, especially because it has Currying"?
- arcosdev 11y agoI would say creating a library that enables a "truer form" of functional programming is probably a pretty good enough feature on its own.
- ufo 11y agoMy experience with currying in Javascript is that passing the wrong number of arguments to a function leads to errors that are tricky to debug and ugly stack traces. In ML-family functional languages this isn't as much of a problem because of the static type checking.
- deleted 11y ago[deleted]
- jdd 11y agoFor those that dig a more fp-style (auto-curried, iteratee first methods) and are used to lodash there's lodash-fp — https://www.npmjs.com/package/lodash-fp https://www.npmjs.com/package/lodash-fp
- smrtinsert 11y agoI didn't know lukas haas coded js. More seriously I've probably never seen such a clear explanation and demo of why currying is so awesome.