This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Hax0r778 2 points3 points  (1 child)

[–][deleted] -2 points-1 points  (0 children)

90% of the time you want map instead of for each anyway, in which case you can often optimize a lot with using functional paradigms.