DEV Community

Discussion on: What s wrong with Array.reduce ?

Collapse
 
icyjoseph profile image
Joseph

Exactly! I reckon anything overused is bad. However to straight up deface the enormous power a fold function gives is just wrong itself. Structural transformations are a thing, and there's a tool for them, period.