3 ms·
So, it's just a while loop in a for loop's clothing? That's not going to be confusing for people at all...
by kbenson 3mo ago
So, it's just a while loop in a for loop's clothing? That's not going to be confusing for people at all...
- comex 3mo agoNo, it's a for loop that happens to include an unrelated variable declaration.
- kbenson 3mo agoAh, I see. The increment is so they can manually handle the included feature of the other cases, which number of the iteration you're on. Nice that it will automatically loop across a collection, annoying that they couldn't go the whole way and you need to deal with it manually.