Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
nullcipher
· 3y ago · 0 comments
Ah, i hate those coding styles where everything must use forEach/map/reduce
Comments
[–]
guilherme-puida
3y ago
forEach is still a loop
[–]
nullcipher
OP
3y ago
The functional programmers (in my circle) have latched on to forEach/map/reduce/filter etc as the bibile of functional programming. Writing a simple for..each loop will make them reject PRs
[–]
guilherme-puida
3y ago
Sure, but `forEach` is not even in the same category as map/filter/reduce. `forEach` is in no way functional.
[–]
nullcipher
OP
3y ago
I mean just search for "is forEach functional programming"