DEV Community


Discussion on: ✔||🤢 Commit or Vomit | function currying 🍛

darkwiiplayer profile image

In that case, what the code does would maybe better be described as "manual currying", as normally the word refers to something that happens automatically (often even on a language-level).

Doing this manually can be useful in edge-cases, but just currying every function for good measure is definitely a bad idea.

  • ✔ When done for a reason
  • 🤢 When overused