3 ms·
Gotos are generally considered a bad idea in high-level programming. http://www.u.arizona.edu/~rubinson/copyright_violations/Go_To_Considered_Harmful.html http
by brianberns 9y ago
Gotos are generally considered a bad idea in high-level programming.
http://www.u.arizona.edu/~rubinson/copyright_violations/Go_To_Considered_Harmful.html http://www.u.arizona.edu/~rubinson/copyright_violations/Go_T...
- CoolGuySteve 9y agoThis is lazy thinking, the gotos described in that essay can jump anywhere in the program while modern gotos are limited to the function scope and have various warnings about initialization order and whatnot. All the arguments it makes no longer apply but people still quote the snappy headline. That essay does make an excellent argument against programming with many tiny functions though, as those do cause the execution cursor to jump all over the source code document.
- _jal 9y agoIt seems to me that a substantial fraction of the people who quote that paper, assuming they have even read it, have failed to think critically about it.
- mcguire 9y agohttps://maniagnosis.crsr.net/2011/11/link-o-day-donald-knuth-tony-hoare-and.html https://maniagnosis.crsr.net/2011/11/link-o-day-donald-knuth...