Hacker News new | ask | show | jobs
by CodeGlitch 1592 days ago
Other gotos include:

- if-statements

- switch-statements

- break

- continue

- exception handling

The whole "gotos are bad" really needs to die.

3 comments

The whole point of "gotos are bad" is that they don't carry semantics. All your list is composed of semantic gotos, and are not considered bad.
gotos arent’t bad, they’re just “considered harmful”
Dijkstra is dead and we can move on from his peeves.
If you think it was a "peeve" or that he considered go to statements universally bad, maybe you should actually read the letter he wrote (NB: The title was not his, but Wirth's) and the discussion around it.