Comment Re:GOTO... (Score 1) 394
There's nothing wrong with goto.
Correct. It is the labels that mess things up.
{
a = 1;
a_label:
b = 2;
return a*b;
}
When reading code, the label messes up what you know about the state of the program. What are we returning here? You have to scan the entire function and find the gotos to know.