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=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no 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 06:43:41 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!bloom-beacon.mit.edu!nycmny1-snh1.gtei.net!cambridge1-snf1.gtei.net!news.gtei.net!bos-service1.ext.raytheon.com!dfw-service2.ext.raytheon.com.POSTED!not-for-mail Message-ID: <3C35BF92.F536D263@spamcop.net> From: Wes Groleau Reply-To: wesgroleau@spamcop.net X-Mailer: Mozilla 4.77 [en] (Windows NT 5.0; U) X-Accept-Language: en,es-MX,es,pt,fr-CA,fr MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: A case where Ada defaults to unsafe? References: <3C35675D.276C2D81@canal-plus.fr> <3C356FE8.5DEB48C8@canal-plus.fr> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Fri, 04 Jan 2002 09:43:30 -0500 NNTP-Posting-Host: 151.168.144.162 X-Complaints-To: news@ext.ray.com X-Trace: dfw-service2.ext.raytheon.com 1010155419 151.168.144.162 (Fri, 04 Jan 2002 08:43:39 CST) NNTP-Posting-Date: Fri, 04 Jan 2002 08:43:39 CST Organization: Raytheon Company Xref: archiver1.google.com comp.lang.ada:18524 Date: 2002-01-04T09:43:30-05:00 List-Id: Thierry Lelegard wrote: > > tmoran@acm.org wrote : > > > > If you write programs as procedures to be followed, short circuit is > > natural. But if you write with a logic structure and assertions in mind, > > then short circuit is un-natural. > > I do not agree. You mix up the functional definition and the implementation. > Both "and" and "and then" are logic operators. The short-circuit is just an > implementation detail. Exactly. It's an implementation detail, so it should not be required where it isn't a logical requirement. -- Wes Groleau http://freepages.rootsweb.com/~wgroleau