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-03 23:40:21 PST Path: archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!news.tele.dk!small.news.tele.dk!128.39.3.168!uninett.no!ntnu.no!not-for-mail From: Preben Randhol Newsgroups: comp.lang.ada Subject: Re: A case where Ada defaults to unsafe? Date: Fri, 4 Jan 2002 07:40:18 +0000 (UTC) Organization: Norwegian university of science and technology Message-ID: References: <3C34BF2C.6030500@mail.com> <3C34D252.4070307@mail.com> <3C34E43E.5070906@mail.com> NNTP-Posting-Host: kiuk0156.chembio.ntnu.no X-Trace: tyfon.itea.ntnu.no 1010130018 11908 129.241.83.82 (4 Jan 2002 07:40:18 GMT) X-Complaints-To: usenet@itea.ntnu.no NNTP-Posting-Date: Fri, 4 Jan 2002 07:40:18 +0000 (UTC) User-Agent: slrn/0.9.7.3 (Linux) Xref: archiver1.google.com comp.lang.ada:18506 Date: 2002-01-04T07:40:18+00:00 List-Id: On Thu, 03 Jan 2002 18:07:42 -0500, Hyman Rosen wrote: > > You haven't answered my question, though. Isn't the commutative semantic > less safe than the short circuit one? Why shouldn't both sides be evaluated? I mean if you base your if sentences on that left of and/or must be true for the right side to be valid then I would say that "and then" and "or else" is better as IMHO this should not be the general way you make an if sentence. It shouldn't matter really whether it is the right side or left side that gets evaluated first. Preben -- () Join the worldwide campaign to protect fundamental human rights. '||} {||' http://www.amnesty.org/