3 ms·
idk how old you are, but there there was a style in the 70s where goto was the only control flow operator used in a lot of codebases, and it was absolutely horr
by convolvatron 4mo ago
idk how old you are, but there there was a style in the 70s where goto was the only control flow operator used in a lot of codebases, and it was absolutely horrible.
- JCattheATM 4mo agoI'm in my 40s, wasn't coding in the 70s. Horrible use of code is a different thing from removing something entirely, though. Just that almost every language removed goto as a response is kind of amazing to me.
- deleted 4mo ago[deleted]
- ebiederm 4mo agoDijkstra actually had a much more reasonable title on the article. It was the editor of the publication Niklaus Wirth that changed the title to goto considered harmful. Dijkstra was arguing for procedures with a single entry point and a single exit point. So it is easier to reason about what a procedure does.
- rramadass 4mo agohttps://news.ycombinator.com/item?id=48667852 https://news.ycombinator.com/item?id=48667852
- deleted 4mo ago[deleted]