in reply to Re^2: Go to?
in thread Go to?

Making blanket statements that goto is evil suffers from the dangers of Cargo Cultism.

I couldn't agree more!
By the way, who was it that said that goto is evil? (certainly not me)

but if it's learned behavior by ROTE rather than comprehension then the inherent wisdom is lost.

My sentiments exactly.

I might also add that making assumptions (and drawing conclusions) about one's level of knowledge and experience based on minimal evidence often does the recepient no justice at all, and in some cases can cause hurt and resentment - which does nobody any good.

But it's okay, because I'm not the type of person to take any of this personally :)

Replies are listed 'Best First'.
Re^4: Go to?
by hawtin (Prior) on Apr 06, 2006 at 08:37 UTC

    By the way, who was it that said that goto is evil?

    Edsger W. Dijkstra in the classic paper "Go To Statement Considered Harmful" published in March 1968. This short paper is widely considered the seminal work which began the Structured Programming movement. (what do they teach in schools these days? :-) )

      Which is to say, Dijkstra said it was worse than his contemporaries thought it was at the time. He's also said since then that he thinks it's better than today's zero-tolerance. There are places where goto really is a good way to solve something.

      ⠤⠤ ⠙⠊⠕⠞⠁⠇⠑⠧⠊