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.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,459feef56669b92d X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-11-03 10:50:40 PST Path: archiver1.google.com!news1.google.com!news2.google.com!news.maxwell.syr.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!eusc.inter.net!cs.tu-berlin.de!uni-duisburg.de!not-for-mail From: Georg Bauhaus Newsgroups: comp.lang.ada Subject: Re: "continue/next" for "loop" Date: Mon, 3 Nov 2003 18:50:38 +0000 (UTC) Organization: GMUGHDU Message-ID: References: NNTP-Posting-Host: l1-hrz.uni-duisburg.de X-Trace: a1-hrz.uni-duisburg.de 1067885438 17700 134.91.1.34 (3 Nov 2003 18:50:38 GMT) X-Complaints-To: usenet@news.uni-duisburg.de NNTP-Posting-Date: Mon, 3 Nov 2003 18:50:38 +0000 (UTC) User-Agent: tin/1.5.8-20010221 ("Blue Water") (UNIX) (HP-UX/B.11.00 (9000/800)) Xref: archiver1.google.com comp.lang.ada:2007 Date: 2003-11-03T18:50:38+00:00 List-Id: Lutz Donnerhacke wrote: : * Preben Randhol wrote: :> Links on this: (Ada, goto and state machine) : : It's not a state machine. It's a "parser" which determine the end of the : current iteration processing at a much deeper level. Does it have to be at that low language level, then? Why not carry abstraction further, adjust data definitions, so that the spaghetti become more manageable? :-) "Continue that_loop" denotes something, after all. In addition, "Continue that_loop" might have other natural connotations for other people, for example Perl programmers might feel that a bare jump to some loop's start is inferior to something like this: loop ... if condition then goto loop_end; end if; ... <> common_cleanup; end loop; Or consult Knuth, on Structured Programming with go to Statements. http://doi.acm.org/10.1145/356635.356640 Georg