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, 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: <8barci$4ks$1@nnrp1.deja.com>#1/1 X-Deja-AN: 600891923 References: <38D7B41D.B3494C6A@lmco.com> <8b8m2e$8201@news.cis.okstate.edu> <8b9fk3$l18$1@nnrp1.deja.com> <38D8DFC2.778826FB@cadence.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 16:12:19 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 <38D8DFC2.778826FB@cadence.com>, Paul Graham wrote: > Why is there no 'continue' statement in Ada? You've shown > that the function of 'continue' is desirable. Yes, the *function* of continue is desirable, but on the other hand a continue is indeed a goto, so why not say so? That's the other point of view, and as you see from the previous post, some people find it clearer to use a goto here. We did discuss this in the language revision but there was insufficient support for this language addition. I guess the burden here is to explain why the goto formulation is so horrible. Yes, it slightly discourages this control flow form, but that's probably a good idea, if you can avoid exit's and continue's in loops without doing damage to the code that's a good idea. Sent via Deja.com http://www.deja.com/ Before you buy.