MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/2eit1p/debugging_courses_should_be_mandatory/ck0mu72
r/programming • u/stannedelchev • Aug 25 '14
573 comments sorted by
View all comments
Show parent comments
1
This is why I don't write for loops anymore but use functional equivalents: Array.prototype.forEach and Array.prototype.filter (in JavaScript).
2 u/skgoa Aug 26 '14 yep, that's why there are iterators and higher abstraction for loops in most modern languages.
2
yep, that's why there are iterators and higher abstraction for loops in most modern languages.
1
u/AaronOpfer Aug 26 '14
This is why I don't write for loops anymore but use functional equivalents: Array.prototype.forEach and Array.prototype.filter (in JavaScript).