Live data from Hacker News

Lodash v3.0.0

lodash.com

81–82 of 82 posts

Re: Lodash v3.0.0

#81
post #71

I've tended to avoid both underscore and lodash because they're both in the slew of monolithic pre-npm libraries, however the lazy evaluation looks interesting. I wouldn't be surprised to find a library that handles lazy eval without all the extra features Lodash brings.

lodash offers modules for node, es6, amd, individual npm packages and bundled in the primary npm package so you can even do require('lodash/array/chunk').

I remember trying this a while ago and being disappointed at the amount of dependency code brought in for a rather trivial function, but the modularization is looking much better than it was last time I took a look.

Re: Lodash v3.0.0

#82

Earlier quoted context omitted.

For the shops who don't live and breath js and whose js work is almost entirely browser-based, these monoliths are great. I, for one, am bummed that the js market is moving away from monoliths. e.g. YUI shutting down.

That's an interesting perspective. I don't have any inherent problems with large libraries, but my problem with some of these 'monoliths' is that other libraries start to depend on the entire library when they only need a small piece of functionality that the library provides. Substack wrote an article [1] explaining some of the problems that monolithic libraries cause in an ecosystem. [1] http://substack.net/many_th…

thanks, I'll check that out.
Post reply on HN