|
|
|
|
|
by kevin_thibedeau
2962 days ago
|
|
Tracing through goto spaghetti is not more comprehensible than a structured switch with clearly defined regions for each state. This is the sort of abuse that gives goto a bad name. The only thing worse is table driven state machines calling function pointers scattered everywhere. |
|
At a high level, this:
is no less comprehensible or spaghetti-prone than this: