From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: * X-Spam-Status: No, score=1.3 required=5.0 tests=BAYES_00,INVALID_MSGID, LOTS_OF_MONEY,MSGID_RANDY autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,14f7200925acb579 X-Google-Attributes: gid103376,public From: Robert Dewar Subject: Re: No Go To's Forever! Date: 2000/03/22 Message-ID: <8bapmj$2o0$1@nnrp1.deja.com>#1/1 X-Deja-AN: 600881648 References: <38D7B41D.B3494C6A@lmco.com> <38D7B83B.27DC06C8@earthlink.net> <8b93n3$8ai$1@nnrp1.deja.com> X-Http-Proxy: 1.0 x36.deja.com:80 (Squid/1.1.22) for client 205.232.38.14 Organization: Deja.com - Before you buy. X-Article-Creation-Date: Wed Mar 22 15:43:20 2000 GMT X-MyDeja-Info: XMYDJUIDrobert_dewar Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.61 [en] (OS/2; I) Date: 2000-03-22T00:00:00+00:00 List-Id: In article , "Ken Garlington" wrote: > You're the expert, of course, but I'm surprised by this > answer. I thought > that structured code in general allowed for easier > determination of scope, making certain optimizations more > likely to be applied. Here is another way of answering this that may be clearer. Yes, structured code is easier to optimize But, a goto does not make code unstructured per se. The goto makes it possible to write nasty hard-to-optimize code in this respect, but the mere use of a goto does not mean that you are in fact creating unstructured code. After all the little example here that was given (the blanks eater with the goto) is perfectly well structured (single entry-single exit, well formed loops etc, just not very clear! Sent via Deja.com http://www.deja.com/ Before you buy.