This seems too special-purpose; why not allow things like break continue break also? That's just as likely a use-case.
This also puts implementation details of the outer loop's iteration decisions inside of the inner loop, making the inner loop less of a subroutine and more of a nested counting process.
(Same comment added to #5 .)
This seems too special-purpose; why not allow things like
break continue break
also? That's just as likely a use-case.This also puts implementation details of the outer loop's iteration decisions inside of the inner loop, making the inner loop less of a subroutine and more of a nested counting process.