News for hackers. Stuff that matters.
Re:Currying in JavaScript by DemocracyFTW on Monday September 20, 2021 @05:12AM (#28591694)
> The Y combinator is not generally useful for instance

I wish I had been told that before trying to understand and actually use it. I once wrote a JS benchmark based on Rosetta code to compute Fibonacci numbers. Not only is the Y combinator code convoluted and quite hard to understand, it's also between 1e5...2e5 times slower than a plain iterative implementation.

Somehow I find it ironic to post such a result here.

There are no comments on this comment yet.