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,25aa3c7e1b59f7b5 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-01-04 13:16:28 PST Path: archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!isdnet!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.cwix.com!news.binc.net!kilgallen From: Kilgallen@SpamCop.net (Larry Kilgallen) Newsgroups: comp.lang.ada Subject: Re: A case where Ada defaults to unsafe? Date: 4 Jan 2002 15:16:24 -0600 Organization: LJK Software Message-ID: <8GpIUxJnrOdc@eisner.encompasserve.org> References: <3C34BF2C.6030500@mail.com> <3C34D252.4070307@mail.com> <5ee5b646.0201040829.18db8001@posting.google.com> <3C35E733.6030603@mail.com> <3C35FE2A.9020802@mail.com> <3C360E76.3070308@mail.com> NNTP-Posting-Host: eisner.encompasserve.org X-Trace: grandcanyon.binc.net 1010178986 31622 192.135.80.34 (4 Jan 2002 21:16:27 GMT) X-Complaints-To: abuse@binc.net NNTP-Posting-Date: Fri, 4 Jan 2002 21:16:26 +0000 (UTC) Xref: archiver1.google.com comp.lang.ada:18562 Date: 2002-01-04T15:16:24-06:00 List-Id: In article <3C360E76.3070308@mail.com>, Hyman Rosen writes: > Matthew Heaney wrote: > >> When order of evaluation is significant, the Ada designers decided that a >> special syntax is called for. > > > Forget that any other programming languages exist, for the moment. > > If I use "and" and I'm wrong in assuming that the order doesn't matter, > then I have introduced a subtle bug. If I'm right, then I haven't gained > anything. You have gained the ability for the compiler to optimize better and for a maintainer to alter the order knowing there is no ordering requirement.