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-Thread: 103376,81bb2ce65a3240c3 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.68.232.42 with SMTP id tl10mr4540318pbc.7.1335408100167; Wed, 25 Apr 2012 19:41:40 -0700 (PDT) MIME-Version: 1.0 Path: r9ni99079pbh.0!nntp.google.com!news1.google.com!goblin3!goblin.stu.neva.ru!gegeweb.org!news.ecp.fr!news.jacob-sparre.dk!munin.jacob-sparre.dk!pnx.dk!.POSTED!not-for-mail From: "Randy Brukardt" Newsgroups: comp.lang.ada Subject: Re: What would you like in Ada202X? Date: Wed, 25 Apr 2012 21:41:33 -0500 Organization: Jacob Sparre Andersen Research & Innovation Message-ID: References: <3637793.35.1335340026327.JavaMail.geo-discussion-forums@ynfi5> <31103380.3735.1335377235157.JavaMail.geo-discussion-forums@vbuo17> <26317529.742.1335381313996.JavaMail.geo-discussion-forums@ynje10> <17572718.3572.1335384748259.JavaMail.geo-discussion-forums@vbbfk16> <30695328.1199.1335386401806.JavaMail.geo-discussion-forums@yndm3> <6600577.869.1335391548297.JavaMail.geo-discussion-forums@vbdx11> <18684452.720.1335395636464.JavaMail.geo-discussion-forums@yncc41> NNTP-Posting-Host: static-69-95-181-76.mad.choiceone.net X-Trace: munin.nbi.dk 1335408098 986 69.95.181.76 (26 Apr 2012 02:41:38 GMT) X-Complaints-To: news@jacob-sparre.dk NNTP-Posting-Date: Thu, 26 Apr 2012 02:41:38 +0000 (UTC) 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.6157 Date: 2012-04-25T21:41:33-05:00 List-Id: "Adam Beneschan" wrote in message news:18684452.720.1335395636464.JavaMail.geo-discussion-forums@yncc41... ... >I suppose this is a YMMV matter; maybe other programmers wouldn't have as >much trouble > reading and maintaining this kind of code. But since it's definitely > something that caused me > problems, I wanted to make sure I mentioned it. And I'm still skeptical > of any coding standard > that bans "goto" but not "continue"; I'd suspect that the person who came > up with that standard > did so because they heard somewhere that goto was evil, demonic, and > fattening, not for any > rational reason. We made a concious decision to ignore arguments about coding standards (clueless or not), because many of those rules are based on misinformation (or out-of-date information -- something I will say probably happens to me from time-to-time). We do, however, care about programmer expectations (which is why there is no "continue", why we added conditional expressions rather than an "implies" operator, and so on). And thanks for the clear explanation of why this is a bad idea (I think yours was clearer than any we had when we rejected the idea). Randy.