Hacker News new | ask | show | jobs
by vore 1080 days ago
A FactoryFactory is just a poor man’s currying!
1 comments

Currying is just poor man's obfuscation :-)

Seriously, I think anytime I have met currying (admittedly only in JS projects) the code could be rewritten to be better without it.

It's a lot more common in e.g. OCaml and Haskell where the syntax makes the partial application a lot easier.