Hacker News new | ask | show | jobs
by mettamage 895 days ago
GOTO

1. Old solution becomes new again

Points 2 and 3

4. Dijkstra enters the picture with the paper: Go To Statement Considered Harmful [1]

5. Wait, did this ever happen? :’)

I wonder if there’s a modern language practice that extensively uses GOTO

[1] https://homepages.cwi.nl/~storm/teaching/reader/Dijkstra68.p...

1 comments

I use goto whenever I have the opportunity, which, sadly, is not that often.

I don't know why people don't like it -- it's essentially an unconditional jump (can replace all while(true);, for example).