4 ms·
One debate that I thought would be mentioned is "Goto statement considered harmful", "'GOTO Considered Harmful' Considered Harmful.", and "GOTO Considered Harmf
by userbinator 10y ago
One debate that I thought would be mentioned is "Goto statement considered harmful", "'GOTO Considered Harmful' Considered Harmful.", and "GOTO Considered Harmful" Considered Harmful' Considered Harmful?" I think it's somewhat disappointing that a lot of CS education always mentions Dijkstra's original argument, but not the other side. The latter two can be found here:
http://web.archive.org/web/20090320002214/http://www.ecn.purdue.edu/ParaMount/papers/rubin87goto.pdf http://web.archive.org/web/20090320002214/http://www.ecn.pur...
https://dx.doi.org/10.1145%2F22899.315729 https://dx.doi.org/10.1145%2F22899.315729
- moyix 10y agoAnd who can forget when the debate went meta with "Considered Harmful" Essays Considered Harmful: http://meyerweb.com/eric/comment/chech.html http://meyerweb.com/eric/comment/chech.html
- waterhouse 10y agoThe "GOTO considered harmful" papers seem to have been appended to Regehr's post.
- regehr 10y agoYes, I'm adding them as I learn about them her (or, in this case, am reminded about them).
- RandomOpinion 10y agoThe best modern analysis of Dijkstra's original letter I've seen is is David Tribble's "Go To Statement Considered Harmful: A Retrospective" which dissects it line by line and explains it in the historical context in which Dijkstra wrote it. http://david.tribble.com/text/goto.html http://david.tribble.com/text/goto.html
- marcosdumay 10y agoThat's because the original Dijkstra argument was part of a research line that created structured programming. The essay (and the other papers) has really nothing against the usage on that your first link. The real problem was goto into loops or subs, not out of them, and not as switch statements. Current languages mostly don't even allow the bad kinds anymore, so people can ignore history, and complain that "goto isn't so bad, I've never seen anybody abusing it like he claims in the essay."
- TheOtherHobbes 10y agoIt's curious how unempirical these debates are. The empirical approach would be to compare outcomes of different approaches, trying to control the independent variables. But CS instead seems to be run by polemic, "Well, obviously..." rhetoric, and tribal affiliation. I've yet to be convinced this is the ideal way to improve the tools and techniques of CS.
- eli_gottlieb 10y agohttp://dl.acm.org/citation.cfm?id=2851730 http://dl.acm.org/citation.cfm?id=2851730
- taeric 10y agoThis is actually the main thing I like about Knuth. Things are either proven, in very strict terms, or they are empirically studied. Also typically in rigorous means. People usually present his work in terms of proofs only. Typically with big O considerations. Reading him, he very quickly warns of the dangers in big O analysis. (He is still a fan of it. Encouraged it as a math aid for grade school work, at one point.)
- jacobolus 10y ago> Encouraged it as a math aid for grade school work, at one point. Do you have a link / some elaboration?
- taeric 10y agoApologies for not seeing this yesterday. I believe this is the link. http://www-cs-faculty.stanford.edu/~uno/ocalc.tex http://www-cs-faculty.stanford.edu/~uno/ocalc.tex
- deleted 10y ago[deleted]
- marcosdumay 10y ago
- Eliezer 10y agoAnd of course the last one in the sequence is "Goto Considered Harmful Considered Harmful Considered Harmful". Yet another illustration of Ultrafinite Recursion! (https://m.facebook.com/story.php?story_fbid=10154119438404228&id=509414227 https://m.facebook.com/story.php?story_fbid=1015411943840422...)
- microtherion 10y agoPersonally, I thought that Knuth's Structured Programming with goto Statements was the most nuanced argument in this debate: http://web.archive.org/web/20130731202547/http://pplab.snu.ac.kr/courses/adv_pl05/papers/p261-knuth.pdf http://web.archive.org/web/20130731202547/http://pplab.snu.a...