News for hackers. Stuff that matters.
Re:Modula-2 and Oberon (2007) [pdf] by sedatk on Sunday July 31, 2022 @02:57PM (#32297804)
I'm also upset at Niklaus Wirth because how he sensationalized Dijkstra's article "A Case Against the Goto Statement" by taking the liberty to change its title to "Goto Statement Considered Harmful", causing a lifelong disproportionate stigma against goto and relevant programming constructs like switch/case, break, continue, etc. Dijkstra had never intended to take such a purist stance against Goto. I also mention this in my book Street Coder.
Re:Modula-2 and Oberon (2007) [pdf] by throw-away_42 on Sunday July 31, 2022 @03:59PM (#32298280)
From the opening paragraph of Edsger W. Dijkstra's letter to the CACM editor:

More recently I discovered why the use of the go to statement has such disastrous effects, and I became convinced that the go to statement should be abolished from all "higher level" programming languages (i.e. everything except, perhaps, plain machine code).

"Harmful" seems to me a perfectly appropriate characterization of the words "disastrous" and "abolished". If anything, it tones them down.

Re:Modula-2 and Oberon (2007) [pdf] by sedatk on Sunday July 31, 2022 @04:18PM (#32298432)
Similarly, "A case against" is way more toned down than "harmful." I agree that the opening statement is a strong stance and fits to the new title, but the article mostly focuses on proliferation of goto as a generic flow-control construct rather than exceptional such as using it as a "defer"-like construct in C where there's no alternative. I still think Wirth's edits hid the nuances in the article and helped fostering a strongly opionated dogma against goto by gifting a slogan to the masses.
Re:Modula-2 and Oberon (2007) [pdf] by Blammar on Sunday July 31, 2022 @03:12PM (#32297919)
? That was Edsger Dijkstra's article, if I recall correctly.

The standard joke is "Europeans refer to him by reference, as Nicklaus Wirth, and Americans - by value, as Nickel's Worth."

Re:Modula-2 and Oberon (2007) [pdf] by pdw on Sunday July 31, 2022 @04:08PM (#32298347)
It was Dijkstra's article, but he submitted it with the title "A case against the Go To statement". Wirth was the journal editor and he choose to rename it to "Go To statement considered harmful".

Knuth ties into this because he published a response "Structured Programming with go to Statements", examining many situations where goto statements are hard to avoid in the standard structured programming paradigm.

Re:Modula-2 and Oberon (2007) [pdf] by Jtsummers on Sunday July 31, 2022 @04:09PM (#32298358)
GGP had originally referred to the author of the article as Knuth, GP (and I) both replied correcting that. GGP comment has since been edited.
Re:Modula-2 and Oberon (2007) [pdf] by sedatk on Sunday July 31, 2022 @04:19PM (#32298450)
Yes, I'd meant Dijkstra where I said Knuth despite that Knuth might still be relevant. I got this right in the book, no worries. :)
Re:Modula-2 and Oberon (2007) [pdf] by sedatk on Sunday July 31, 2022 @04:07PM (#32298342)
Yes my bad. Edited, thanks!
Re:Modula-2 and Oberon (2007) [pdf] by Jtsummers on Sunday July 31, 2022 @03:12PM (#32297912)
Not Knuth. Dijkstra.
Re:Modula-2 and Oberon (2007) [pdf] by sedatk on Sunday July 31, 2022 @04:07PM (#32298338)
You're right edited it now, thanks!