‹ BackHN Continuity

Thread

Anecdotally, programmers dislike "reduce"

175 points · 283 comments · vinhnx

  1. yipinwong · · focus · HN ↗
    Reduce introduces state (accumulator), unlike map/filter which normally are used for immutability.

    I use both, but do not like reduce at all. It's harder to read, yes. But I see the point of using them all.

Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.