http://qs321.pair.com?node_id=181842


in reply to GOTO considered (a necessary) evil?

In well-defined cases, such as jumping to the beginning or end of a loop, we have special keywords that mean this. It is not as bad as goto because you know what they mean in terms of structure, and we also have idioms that go with them.

"Go back to the beginning" is a well-defined point, not a random jump into the middle of the logic.

Check out the redo keyword. I've used it in cases like this.