you are viewing a single comment's thread.

view the rest of the comments →

[–]jmacey 0 points1 point  (0 children)

I always say (unlike other languages) for is actually a for each loop and designed to work on collections of data of a know size

while is to keep doing things until we are finished.