while vs for loops?
Is there a reason to introduce while loops beofore for loops? There is also more content on while loops than for loops. I think for loops are more common; while loops may not even be necessary.
With while loops, you can see each of the initialization, stopping condition, and iterative step separately in 3 different lines. Because of this, you can explain the concept of loops more easily in a way that your users can grasp. Then, after the students understand the concept of a while loop, you can introduce the for loop and show that it is a more concise way of doing a while loop.
But so many errors are possible with while loops. I think for loops have training wheels and while loops are more flexible. I agree that for loops should go first.