Hacker News new | ask | show | jobs
by doubletgl 2016 days ago
Agreed for map, filter etc. but reduce is the exception. There has been a fad of overusing it, until that article popped up which called it out.
1 comments

I "got" reduce not long ago. It's occasionally handy, and it makes sense, but sure, it should not be overused. It is the most complicated between the three.

A good old loop in code bases that are not afraid of them are totally fine and probably clearer in many cases.