3 ms·
No offense but the article sounds a bit as like rediscovering GOTO. That's all and well, but we should keep in mind why GOTO was abandoned in the first place.
by xg15 5y ago
No offense but the article sounds a bit as like rediscovering GOTO. That's all and well, but we should keep in mind why GOTO was abandoned in the first place.
I mean yes, in the end, control blocks and break/continue statements are just special cases of jumps. But the innovation was in the other direction: Discovering that the vast majority of jumps can be classified into a small number of categories - ifs, switches, loops, break, continue...
The amazing thing is that you can even restrict your language to allow only jumps from those categories - and you will not lose expressiveness but your programs will suddenly become significantly easier to analyse.