News for hackers. Stuff that matters.
Re:Bug #48669: PHP now includes GOTO by dunk010 on Friday August 21, 2009 @07:17PM (#778706)
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.
Re:Bug #48669: PHP now includes GOTO by dmoney on Saturday August 22, 2009 @01:41AM (#779065)
When 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?