3 ms·
>"folks like iteration because 90% of the "for" loops they write are really just "foreach"." I didn't understand this comment. What do you mean by "for vs fore
by bogomipz 8y ago
>"folks like iteration because 90% of the "for" loops they write are really just "foreach"."
I didn't understand this comment. What do you mean by "for vs foreach."? Can you elaborate?
- bkdonline 8y agoI guess the foreach is where each iteration has independent operation, vs a generic for loop where this iteration depends on result of the previous iterations.