Solutions
- Replace GOTO with structured code
- Use exceptions
Imho exceptions aren't much better. They are essentially a goto where
gotos but I assume there is no equivalent to finally).2 & 3 are nice and probably the reason why they are still used today, but 1 is terrible for understanding bigger systems.