Y
Hacker News
new
|
ask
|
show
|
jobs
by
bkdonline
2953 days ago
I 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.