Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
hsshhshshjk
· 2y ago · 0 comments
For the functional vs imperative... Why make the example array.map.filter.reduce rather than just a single reduce? I find map.filter.reduce to be a gross anti pattern.
Comments
[–]
aPoCoMiLogin
2y ago
rarely saw such uses in the wild, which always breaks my mind. although the filter+map|reduce combo is the most popular that i've saw