loading...

re: Explaining currying to myself VIEW POST

TOP OF THREAD FULL DISCUSSION
re: You can also do currying directly without having a curry-fier. For example... const cf = (a) => (b) => (c) => (d) => { return a + b *...
 

It does take more discipline to use the functional side of Javascript. I think I added a curry-fier because I wanted to play around with the number of arguments. But it does make it less readable.

code of conduct - report abuse