Re: Good Use of GOTO

new topic     » goto parent     » topic index » view thread      » older message » newer message

c.k.lester wrote:
> 
> After hearing from both sides, I've come to the conclusion that the goto
> being implemented is unnecessary. We are getting loop constructs that
> handle most of what GOTO would be used for, aren't we?
> 

Instead of hashing this all out again and again, I'm going to point to a few
resources by people who know what they are doing and please, if you are really
interested in the debate, take the time to read them. Do not just assume you've
been taught and shown a few instances where goto is evil, therefore goto is evil.
You will see references to the 1968 paper everyone loves to quote (or mis-quote)
you will also see references from people such as Linus, Don Knuth and others.

http://c2.com/cgi/wiki?GoodUseOfGoto
http://kerneltrap.org/node/553/2131
http://discuss.fogcreek.com/joelonsoftware/default.asp?cmd=show&ixPost=177764
http://publib.boulder.ibm.com/infocenter/db2luw/v9/index.jsp?topic=/com.ibm.db2.udb.apdv.sql.doc/doc/c0024356.htm
http://www.cprogramming.com/tutorial/goto.html

Please note that the above examples are in languages that have goto. I obviously
could not find examples/talk of how goto is good/bad in Euphoria because it does
not have it.

Also note, I am simply submitting these links to the public for them to read. In
this instance, I am not fighting for or against goto, I am just providing a few
links that show goto may not always be evil because there are a few well
publicized links say it is. When making a decision it's always good to be
informed of both choices.

--
Jeremy Cowgar
http://jeremy.cowgar.com

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu