THE VIDEO SHELF · functional programming in javascript
Hey Underscore, You're Doing It Wrong!
Brian Lonsdorf explains why Underscore.js falls short as a functional programming library, then introduces currying, composition and point-free style in JavaScript. He argues for data-last argument ordering.
Why HN readers recommended it
A repeatedly recommended introduction to functional JavaScript that explains currying and why data should come last.
This is a summary from the source dataset, not an endorsement by Hacker News or the video creator.
Video & recommendation details
- Creator / channel
- InfoQ
- Topic
- functional programming in javascript
- Format
- talk
- Level
- intermediate
- HN recommenders in dataset
- 9
- HN mentions in dataset
- 12
- Recommendation years in dataset
- 2014–2022
These counts and years describe the included Hacker News records; they are not YouTube views or the video’s publication date.
From the original HN conversations
Excerpts from the recorded comments. Follow each source for the full comment and surrounding discussion.
That is great feedback. I am actually working on creating a "functional" version of the 2048 game, along with my own implementation of the AI solver, as part of this series. Kinda goofy, and maybe not a "real world" situation as much, but should at …
lrichardson on Hacker News · 2014-04
In Functional JavaScript, Part 3: apply, call, and the arguments objectThere is an excellent talk called "Underscore, you're doing it wrong!". The talk explains how well designed param order with currying leads to very short and expressive code -- and how underscore missed the boat. This aspect of it should be interesting as it's related …
wizao on Hacker News · 2015-01
In Lodash v3.0.0I find this talk inspiring. Underscore.js got many things wrong for FP: [VIDEO] . I've read Grokking Simplicity too. It's very approachable book. Highly recommend it for JS/TS developers who want to learn FP!
r3a1d33p on Hacker News · 2022-08
In Ask HN: Learning Functional Programming in 2022?
Summaries, classifications and recommendation records are from the HackerTube source dataset. Read about this library and its limitations.