4 ms·
agreed. Goto's are not bad at all, particularly when dealing with error scenarios. They avoid hack-y if-then error logic (sort of like try/catch/finally)
by cmollis 13y ago
agreed. Goto's are not bad at all, particularly when dealing with error scenarios. They avoid hack-y if-then error logic (sort of like try/catch/finally)
- dllthomas 13y agoGotos are bad when used for unconstrained flow control. Restricted use of gotos to implement exception handling is, as you say, not bad.