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 00:39:57 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!arclight.uoregon.edu!wn4feed!worldnet.att.net!204.127.198.204!attbi_feed4!attbi.com!rwcrnsc51.ops.asp.att.net.POSTED!not-for-mail From: tmoran@acm.org Newsgroups: comp.lang.ada Subject: Re: A case where Ada defaults to unsafe? References: <3C35675D.276C2D81@canal-plus.fr> X-Newsreader: Tom's custom newsreader Message-ID: NNTP-Posting-Host: 12.234.125.134 X-Complaints-To: abuse@attbi.com X-Trace: rwcrnsc51.ops.asp.att.net 1010133596 12.234.125.134 (Fri, 04 Jan 2002 08:39:56 GMT) NNTP-Posting-Date: Fri, 04 Jan 2002 08:39:56 GMT Organization: AT&T Broadband Date: Fri, 04 Jan 2002 08:39:56 GMT Xref: archiver1.google.com comp.lang.ada:18508 Date: 2002-01-04T08:39:56+00:00 List-Id: 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 think the latter is a better way to program, and short circuit should be reserved for the compiler to choose as an implementation optimization, or as a shorthand notation for those cases where you really do want an "if ... then if" structure.