Functional JavaScript: In a hurry learn you curry (part 1: the tutorial)

preview_player
Показать описание
Are you learning Functional Programming in JavaScript? Then you need to master curry! In a world of code duplication, elite programmers transform ordinary functions into great superpowers. In the realm of functional JavaScript, Curry is King (sort of)!
Рекомендации по теме
Комментарии
Автор

your video is great, hope to see more advance stuff!

sad
Автор

Hey Michael.
These videos are great! I've been learning JS and web dev for the past 8 months. I'm reading Javascript Allonge right now and it covers a lot of these functional programming concepts.
Your videos have been very helpful in explaining these concepts in greater detail. Please keep up the good work! I hope to see some more videos.

jongschneider
Автор

Mike Your Video Is Awesome, Very happy you made these videos.

markgrover
Автор

this bind, is screwing with my brain a bit.
function sum(a, b){
if(arguments.length === sum.length){
return a + b;
}
return sum.bind(null, a); //returns a function call with 1argument in place
}

console.log(sum(10)(10)); //20

axe-z