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=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!feeder.eternal-september.org!nntp-feed.chiark.greenend.org.uk!ewrotcd!newsfeed.xs3.de!io.xs3.de!news.jacob-sparre.dk!franka.jacob-sparre.dk!pnx.dk!.POSTED.rrsoftware.com!not-for-mail From: "Randy Brukardt" Newsgroups: comp.lang.ada Subject: Re: stopping a loop iteration without exiting it Date: Fri, 5 Jan 2018 17:50:32 -0600 Organization: JSA Research & Innovation Message-ID: References: <81971548-23c9-4927-a6a8-6f0f1dba896b@googlegroups.com> <867esx70lw.fsf@gaheris.avalon.lan> <86373k74qh.fsf@gaheris.avalon.lan> <87shbki0et.fsf@nightsong.com> Injection-Date: Fri, 5 Jan 2018 23:50:32 -0000 (UTC) Injection-Info: franka.jacob-sparre.dk; posting-host="rrsoftware.com:24.196.82.226"; logging-data="12512"; mail-complaints-to="news@jacob-sparre.dk" X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.5931 X-RFC2646: Format=Flowed; Original X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.7246 Xref: reader02.eternal-september.org comp.lang.ada:49772 Date: 2018-01-05T17:50:32-06:00 List-Id: "Paul Rubin" wrote in message news:87shbki0et.fsf@nightsong.com... ... > If a construct is useful, then the existence of an ugly workaround for > its absence doesn't make it non-useful. But "usefulness" by itself is not the question. Almost every special syntax proposed is useful for something. The question is more whether it is useful AND commonly used enough to be part of the language. Because every special language gadget has a cost in learning, readability, and the like. The larger a language is, the harder it is to learn and read, regardless of the merits of the individual features. Also, in this case, making "continue" a reserved word would break a lot of existing code that uses gotos for this feature -- as "continue" is commonly used as the name of the label, and that would no longer be legal. So programmers who do this a lot would have a significant portability problem. Balancing that against the rarity of use for most programmers, and it didn't seem worth adding to Ada. (This was for Ada 2005, I believe.) We (the ARG) have rules against asking precisely the same question that was previously answered, lest the same questions be considered over and over. So we wouldn't reconsider the decision on "continue" unless something significant has changed, and I don't think anything has. Randy.