For coding examples, you should use the think that the loop represents. for (person in list_of_people) { ... } makes more sense for the new reader. If you're just using it as a counter, there's nothing wrong with saying something like count = 0; while (count < 10) { count++; }