3 ms·
I can understand the use as a labeled jump for loops, that's handy. Are there other cases where this is useful? I'm thinking along the lines of things like Qu
by dunk010 17y ago
I can understand the use as a labeled jump for loops, that's handy. Are there other cases where this is useful? I'm thinking along the lines of things like Quercus.
- dmoney 17y agoWhen you're writing something that's modeled as a state machine, it's easier to use goto to jump between the states, rather than simulating it with a while loop, state variable, and case statement. Making the program's behavior conform to a flow chart would probably be about the same. I wonder: would goto have a better reputation if flowcharts were used more often?