GOTO for error handling is appalling, any time, any day..
In fact, using GOTO for anything I can think of is pretty bad coding.

GOTO is the statement that is removed from every self respecting higher level language, or should be.

And regarding spaghetti code, it will come to no surprise to you that I happen to disagree. Sure, it's easy enough to make unreadable code, but it's pretty much impossible to make spaghetti code without GOTO.

Spaghetti code refers to the habit that some people used to have to jump into loops and subroutines halfway and jump back out at will. This makes the control structure pretty much ununderstable to anyone but maybe the programmer. This is impossible if you only have conditional statements, subroutines, while-like loops and structured exception handling.

Edit: typos

Last edited by SubSpace; 26/01/03 06:05 PM.