I agree. The early GOTO linenumber
was almost certainly responsible to much of the early dislike, however that objection should never have remained after the addition of GOTO label
was introduced. Allowing it to become a blanket ban on a useful tool is pretty-much inexcusable, but there is something in human nature that sometimes lets us shortcut our thinking processes and allow the absurd to somehow become dogma (for example every religion on Earth).
As the rather humorously titled "GOTO Considered Harmful" Considered Harmful
by Frank Rubin showed, there are certain situations where GOTOs are not only more efficient than other structures, but also make for much more easily read (and maintained) code.
(See his piece at: http://web.archive.org/web/200903200...ubin87goto.pdf
For the record, Niklaus Wirth was responsible for the whole problem, as he was the person at ACM who retitled Edgar Dijkstra's paper from the more considered "A Case Against the Goto Statement" to the inflammatory "GOTO Considered Harmful" which stuck in people's minds as a meme. Almost nobody has read the original paper, as it is so dense and abstract; they just remember the title. Niklaus Wirth is immortalised by having created the almost useless language PASCAL as an illustration of his ideas. Modula was a slight improvement, but you'd need your head examined trying to do much with either (in my opinion). It illustrates how creating stuff based upon dogma produces broken results, even when an undeniably brilliant mind like Wirth's is doing it. Programming is still as much an art as it is a science and to ignore that and succumb to dogmatic restrictions is to risk becoming lost in pointless deliberations of how many angels can dance on the head of a pin.