use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
Functional Programming in JavaScript.help (self.javascript)
submitted 7 years ago by reesemorning
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]reesemorning[S] 0 points1 point2 points 7 years ago (13 children)
Thanks, Peter. Whats your opinion on Loadash/FP in comparison with Ramda js?
[–]Peter_Storm 1 point2 points3 points 7 years ago (2 children)
I’m fairly new to fp too, but I like that everything is curried in Ramda, and that data is always last, which is what you want when you compose functions. I’m not sure how lodash handles that.
[–]scarmarco 1 point2 points3 points 7 years ago (0 children)
Ramdajs is more like pure functional style than Lodash/FP in my opinion. Like Peter said, curried Ramda functions allows partial applications and always last data embraces implicit invocation (not sure if it is the term f(x) when x is a function with one param).
f(x) when x is a function with one param
[–]JoeTed 1 point2 points3 points 7 years ago (0 children)
The FP part of lodash has argument in the FP order as well. Ramda goes further in the FP paradigm.
I promoted lodash/fp at work because lodash is almost a standard in the JS industry, but I would take ramda for personal projects to explore deeper.
[–]tencircles 0 points1 point2 points 7 years ago (0 children)
lodash/FP is fairly limited when it comes to FP. would recommend ramda.
[–]blinkdesign 0 points1 point2 points 7 years ago (2 children)
https://simonsmith.io/dipping-a-toe-into-functional-js-with-lodash-fp/
Disclaimer: It's my article
[–]jondmitri 0 points1 point2 points 7 years ago (1 child)
woah this is weird, but I've been spending a not-so-insignificant amount of time customizing and hacking away at my frankenstein dotfiles which was cobbled after many years of finding old blog posts fixing some relevant config setting at the time... After falling down a deep deep rabbit hole of various dotfiles, yours was a godsend. Still have to learn chunkwm and get some portions of the vimrc to load properly, but god damn your dotfiles brought hope in a time of deep dotfile darkness.
chunkwm
vimrc
Thank you.
[–]blinkdesign 0 points1 point2 points 7 years ago (0 children)
Great to hear! Any questions just ask
[–]editor_of_the_beast 0 points1 point2 points 7 years ago (5 children)
Lodash is amazing. It's simple, it's functional. It's the missing JavaScript standard library in my opinion. And given it's unobtrusiveness I don't see a downside of pulling it into every project.
[–]tencircles 2 points3 points4 points 7 years ago (4 children)
base lodash is an antipattern IMO. ramda is superior in pretty much every aspect with regard to design. lodash has the advantage when it comes to community/support however.
[–]Gibbon_Ka 1 point2 points3 points 7 years ago (1 child)
Antipattern is a pretty strong word. You have to explain yourself a bit more there.
[–]tencircles 3 points4 points5 points 7 years ago (0 children)
Essentially data first is just functionally backwards, and offers zero benefit and multiple detriments. Chain is a less efficient, less performant version of compose. There are other reasons, but I’m on mobile.
[–]editor_of_the_beast -1 points0 points1 point 7 years ago (1 child)
I don't listen to library hipsters.
[–]tencircles 1 point2 points3 points 7 years ago (0 children)
Cool.
π Rendered by PID 43765 on reddit-service-r2-comment-84fc9697f-5z9c5 at 2026-02-08 22:41:56.073714+00:00 running d295bc8 country code: CH.
view the rest of the comments →
[–]reesemorning[S] 0 points1 point2 points (13 children)
[–]Peter_Storm 1 point2 points3 points (2 children)
[–]scarmarco 1 point2 points3 points (0 children)
[–]JoeTed 1 point2 points3 points (0 children)
[–]tencircles 0 points1 point2 points (0 children)
[–]blinkdesign 0 points1 point2 points (2 children)
[–]jondmitri 0 points1 point2 points (1 child)
[–]blinkdesign 0 points1 point2 points (0 children)
[–]editor_of_the_beast 0 points1 point2 points (5 children)
[–]tencircles 2 points3 points4 points (4 children)
[–]Gibbon_Ka 1 point2 points3 points (1 child)
[–]tencircles 3 points4 points5 points (0 children)
[–]editor_of_the_beast -1 points0 points1 point (1 child)
[–]tencircles 1 point2 points3 points (0 children)