|
|
|
|
|
by addicted
3111 days ago
|
|
Wouldn't a while loop be a better option there? From what I understand the point of a for over a while is that you will iterate for a certain known number of times. But if you aren't doing that (break) isn't the while a better option so you can encapsulate the break in the condition as opposed to random locations in the block. |
|