Lodash v3.0.0
21–30 of 82 posts
Re: Lodash v3.0.0
#22Earlier quoted context omitted.
It's supposed to be better, faster, and stronger (more functions) than underscore. It's also under active maintenance from an enthusiastic dev. Do your own research, but I go with lodash.
Lazy.js claims to be even faster than both with support for lazy evaluation to boot. Not quite a drop-in replacement like lodash is, but I think it only requires a minor tweak.
http://filimanjaro.com/blog/2014/introducing-lazy-evaluation...
Re: Lodash v3.0.0
#23I always appreciate it when the top of the project page provides a one-liner explaining just what it is I'm looking at.
Re: Lodash v3.0.0
#24Re: Lodash v3.0.0
#25Really nice to see that there's now an auto-curried, function-first version, lodash-fp! I've been really attracted by Ramda JS recently for this reason. https://www.npmjs.com/package/lodash-fp
I've been looking for some real-world examples of how currying might be useful in javascript. Haven't not used a language which supports currying for any real world project, I'm interested to know how it can help. I found a page [1] which talks about currying in javascript, then says "Are there practical uses for currying in JavaScript? Not really." Can you point me at anything which will help me see why it's useful?…
That said, I didn't end up being a big fan of it in the end. Other people can get confused by the new abstractions the combinators introduce and whenever you pass the wrong number of arguments to a function you end up with very tricky runtime errors (this isn't an issue in Haskell because the type system checks this for you)
Re: Lodash v3.0.0
#26Earlier quoted context omitted.
It's supposed to be better, faster, and stronger (more functions) than underscore. It's also under active maintenance from an enthusiastic dev. Do your own research, but I go with lodash.
Lazy.js claims to be even faster than both with support for lazy evaluation to boot. Not quite a drop-in replacement like lodash is, but I think it only requires a minor tweak.
Re: Lodash v3.0.0
#27I followed the link and saw "lodash" for the first time today. Oh, it's a library! With an API! In various formats! I always appreciate it when the top of the project page provides a one-liner explaining just what it is I'm looking at.
In a nutshell it's a collection of functions that work on arrays,objects and functions.It's a toolbox.
Re: Lodash v3.0.0
#28Re: Lodash v3.0.0
#29We switched from underscore to lodash several months ago, and haven't regretted it. The fact that lodash follows semver is huge. Underscore has introduced serious breaking changes in minor point-releases more than once, which is completely unacceptable for a utility library.
Re: Lodash v3.0.0
#30I followed the link and saw "lodash" for the first time today. Oh, it's a library! With an API! In various formats! I always appreciate it when the top of the project page provides a one-liner explaining just what it is I'm looking at.
I probably should have guessed, but I hate guessing wrong and missing out on something I could really use.