Re:Currying in JavaScript
by layer8 on Sunday September 19, 2021 @01:09PM
(#28585975)
Of course that’s the mitigation strategy, but my point is that the usual currying syntax inherently special-cases the first parameter, and in x% of the situations that’s not what you want. From a language-design point of view it just feels awkward.
[ Parent
| on HN ]
Re:Currying in JavaScript
by josephcsible on Sunday September 19, 2021 @05:26PM
(#28588082)
I guess that's fair. What about Scala's _ syntax, though? Does it solve the problem?