5 ms·
It’s often the case that writing a bit of infrastructure for something is a valuable exercise in and of itself. So we can debate how often you’d need to curry
by braythwayt 11y ago
It’s often the case that writing a bit of infrastructure for something is a valuable exercise in and of itself.
So we can debate how often you’d need to curry a function, but I feel safe suggesting that writing your own curry function (or reading along with an essay that does the same with lively interest) is valuable.
Same with things like classes and mixins, there is now syntactic sugar for such things, but it’s always a good thing to have written your own MakeClass function at least once.
- kevincennis 11y agoOP here. That was kind of my intent (learning exercise rather than super practical real-world technique) -- but I'll admit I probably could have picked a better title.
- braythwayt 11y agoWell, I liked it, and I personally don’t mind the title. It’s about currying and JavaScript, and it’s interesting, so that meets my (possibly low) bar for upboating.