Re:Currying in JavaScript
by kevincennis on Sunday July 19, 2015 @06:39PM
(#9913126)
OP 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.
Re:Currying in JavaScript
by braythwayt on Sunday July 19, 2015 @06:41PM
(#9913135)
Well, 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.
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.