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,99e73f65ea2533b9 X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!newspeer.monmouth.com!newsswitch.lcs.mit.edu!nntp.TheWorld.com!not-for-mail From: Robert A Duff Newsgroups: comp.lang.ada Subject: Re: and then... (a curiosity) Date: Fri, 05 Sep 2008 09:49:10 -0400 Organization: The World Public Access UNIX, Brookline, MA Message-ID: References: <18b41828-bda4-4484-8884-ad62ce1c831d@f36g2000hsa.googlegroups.com> <57qdnfULQ9tzKCHVnZ2dnUVZ_tHinZ2d@comcast.com> <48bd0003$1@news.post.ch> <48bf90bf$0$30032$dbd4d001@news.euronet.nl> NNTP-Posting-Host: shell01.theworld.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: pcls6.std.com 1220622550 15885 192.74.137.71 (5 Sep 2008 13:49:10 GMT) X-Complaints-To: abuse@TheWorld.com NNTP-Posting-Date: Fri, 5 Sep 2008 13:49:10 +0000 (UTC) User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.3 (irix) Cancel-Lock: sha1:x601aG3TbZquuF+KjtIDK85i+yA= Xref: g2news1.google.com comp.lang.ada:1944 Date: 2008-09-05T09:49:10-04:00 List-Id: I wrote: > stefan-lucks@see-the.signature writes: > >> But when "if X/=0 and Y/X<100" propagates an exception for X=0, as, alas, >> done in Ada, something is logically wrong. > > So what do you think "if Y/X<100 and X/=0" should do in Ada when X = 0? Ah, I see you answered this question elsewhere. You said 1+2 is what you prefer, because you believe it to be mathematically elegant, but you would settle for 3. Well, that seems inconsistent, to me: you can't argue for 3 ("and" should behave as "and then" does, and we can presumably eliminate the "and then" syntax from the language) on the basis that 1+2 is elegant. - Bob