Y
Hacker News
new
|
ask
|
show
|
jobs
by
epse
1920 days ago
In this case, there's not much difference. In general, iterating over something rather than using a counter with limits makes it harder to create off by one or other errors due to laziness.