3 ms·
>Not all useful control flow graphs can be described with while and if. They can be described with if, while, for, case, pattern matching, recursion, etc. Ther
by wyager 12y ago
>Not all useful control flow graphs can be described with while and if.
They can be described with if, while, for, case, pattern matching, recursion, etc. There is almost always a better alternative.
>Why is it inexperienced programmers go through a phase where they think goto is evil incarnate?
It seems to me that most people who support general usage of GOTO are inexperienced and don't necessarily realize it. They lack knowledge of better control structures. See the blub paradox.
Besides, the justification here is performance, not readability. I'm saying that performance in particular is a bad justification for using GOTO.