JavaScript·Intermediate·Coding·1 min read
Why use currying in application code?
Short interview answer
It can create specialized functions from configuration, support point-free composition, and make dependencies explicit. It is valuable when the staged arguments reflect real lifecycle boundaries; excessive currying can make ordinary code harder to read and debug.
Key takeaway
Explain the underlying mental model clearly, then support it with a concrete example and its trade-offs.