News for hackers. Stuff that matters.
Re:Anecdotally, Programmers Dislike "Reduce" by slopnt on Monday September 14, 2026 @03:55PM (#49702991)
I like reduce in principle since it generalizes a simple concept pretty nicely. I don't use it that much in practice since its alternatives just require less brainpower. It competes against using local mutable state with a loop or iterator combinator which I would argue are easier to wrap your head around (i.e. loop with variable/map with closure). I would argue its one of those cases where something is just harder to do/understand in functional vs imperative programming.

There are no comments on this comment yet.