r/coding • u/fagnerbrack • 18d ago
Anecdotally, programmers dislike "reduce"
https://evanhahn.com/posts/2026-09-13-programmers-dislike-reduce/
136
Upvotes
r/coding • u/fagnerbrack • 18d ago
View all comments
Show parent comment
8
u/thussy-obliterator 17d ago edited 17d ago
fold with monoids isn't too bad, but yeah once your f breaks associativity things get way more confusing, then you gotta worry about which fold it is, and which param of the combinator is the accumulator