News for hackers. Stuff that matters.
Re:Currying vs. Partial Application (2015) by marcosdumay on Tuesday September 19, 2017 @10:08AM (#15284704)
> The example is always some simple math, but usually functions are doing more

On a language like Haskell, 90% of the time you see partial application it is something like `(+1)`, or `inClass isSpace`.

That insistence on functions doing more is a very OOP thing. Functions that do too much do not compose well.

Re:Currying vs. Partial Application (2015) by emerongi on Tuesday September 19, 2017 @01:46PM (#15286915)
Well in Haskell it all makes sense, since you have other powerful tools (function composition and application, very large standard library of small functions, etc) that all compose into readable and nice code.

If you just use currying randomly, it's going to create more headaches than solve. Ultimately you'd need to adopt something like Ramda in your project if you want to do this in your JS codebase, but even then I think Ramda-dependent code is way less readable than Haskell.