← Back to context

Comment by implements

4 years ago

> You can try to change my mind that I should never use GOTO …

It’s handy for jumping to the bottom of a control loop if the language lacks a CONTINUE statement - the sin being outweighed by cleaner and easier to maintain code.

Sure, but even if you have continue some languages give you the GOTO so you can exit out from nested loops, useful when you need to work say with pixel colors in a big image, you need all the performance you can get.