Comment by adverbly

14 hours ago

Speaking as someone who often tries to reduce my use of reduce by replacing it with map and filter where possible, for me, falling back to reduce is analogous to falling back to a while loop or a for loop: I avoid it if I can.

The problem with reduce is that it can do so much, and therefore it is less clear when reading it quickly what it might be doing.