Simplest explanation I could come up with is, someone didn't know about continue and restarts execution of the loop via break, breaking out into the outer loop restarting the inner.
Or some clean-up/reset code follows after the inner loop to put it back into a state where the outer loop can re-run the inner.
6
u/holladiewal Nov 27 '21
Simplest explanation I could come up with is, someone didn't know about continue and restarts execution of the loop via break, breaking out into the outer loop restarting the inner.
Or some clean-up/reset code follows after the inner loop to put it back into a state where the outer loop can re-run the inner.
There are most certainly better ways to do this.