re: Functional programming - all you need to know about currying. VIEW POST

TOP OF THREAD FULL DISCUSSION
re: I use currying all the time in js!
 

I think it's especially helpful in JS because of all the event handlers you need. A curried function is basically a function that creates new functions, so you can write a function that creates event handlers for you.

code of conduct - report abuse