News for hackers. Stuff that matters.
Re:Mindset Shifts for Functional Programming by chriswarbo on Thursday April 06, 2023 @05:50AM (#35466290)
Yes, exactly :) Again, it's not always "better", but it's a situation that doesn't seem to map directly to a loop.

I gave a more complicated, realistic example in a sibling comment https://news.ycombinator.com/item?id=35466256

There are no comments on this comment yet.