2 ms·
> Luckily though, 45 years after Dijkstra's paper, goto is not used extensively any more. goto might not literally be used any more, but I see "break" used a l
by jkingsbery 7y ago
> Luckily though, 45 years after Dijkstra's paper, goto is not used extensively any more.
goto might not literally be used any more, but I see "break" used a lot, and for long functions that have variables defined outside of the scope of the "break," it behaves similarly.
- analog31 7y agoIt would be interesting to go back through old code containing GOTO's, and see if the main use was similar to "break."