Live data from Hacker News

Lodash v3.0.0

lodash.com

1–10 of 82 posts

Re: Lodash v3.0.0

#5
post #2

Already submitted: https://hn.algolia.com/?query=lodash&sort=byPopularity&prefi... Seems like no one cares. Strange.

It's easy to not care when there's no context or indication as to what Lodash might be. Too many links, not enough time.

I did click -- but only because a previous comment made it seem like Lodash was something related to functional programming. If it hadn't been for that comment, I have ignored the post, because I wouldn't have had a clue WTH Lodash was.

Now, sure, people who've already used or heard of Lodash are going to know, but they're probably already following it on Github. :-) The unwashed masses like me won't have any idea.

I guess the key here is to try to make the title give some indication of what the thing is.

Re: Lodash v3.0.0

#6
post #2

Already submitted: https://hn.algolia.com/?query=lodash&sort=byPopularity&prefi... Seems like no one cares. Strange.

I use Lodash but i see not point in this announcement in its current form - what changed exactly?

[edit] Changelog is there https://github.com/lodash/lodash/wiki/Changelog

Some decisions sound really weird, such as the fact that forEach is now lazy. It is not a standard replacement anymore, and probably break the compatibility for quite a few apps (even if I'm deeply convinced that we should all use the native functions and shim them when needed).

Re: Lodash v3.0.0

#7

  The lodash & lodash-compat npm packages now come with modules baked in too.
  Perfect for Browserify!

  // load the modern build
  var _ = require('lodash');
  // or a method category
  var array = require('lodash/array');
  // or a method
  var chunk = require('lodash/array/chunk');

This is great. It combines trust and quality with modularity.

Re: Lodash v3.0.0

#8

See release notes and changelog: - https://github.com/lodash/lodash/releases/tag/3.0.0 - https://github.com/lodash/lodash/wiki/Changelog

Thanks for the link, I was expecting a CHANGELOG file in the project.

Re: Lodash v3.0.0

#9
post #4

Really 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?

[1] http://benalman.com/news/2012/09/partial-application-in-java...

Post reply on HN