3 ms·
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 p
by hsshhshshjk 2y ago
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.
- aPoCoMiLogin 2y agorarely 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