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.6 required=5.0 tests=BAYES_00,TO_NO_BRKTS_FROM_MSSP 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-03 14:22:40 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!out.nntp.be!propagator-SanJose!in.nntp.be!newsranger.com!www.newsranger.com!not-for-mail Newsgroups: comp.lang.ada From: Ted Dennison References: <3C34BF2C.6030500@mail.com> <3C34D252.4070307@mail.com> Subject: Re: A case where Ada defaults to unsafe? Message-ID: X-Abuse-Info: When contacting newsranger.com regarding abuse please X-Abuse-Info: forward the entire news article including headers or X-Abuse-Info: else we will not be able to process your request X-Complaints-To: abuse@newsranger.com NNTP-Posting-Date: Thu, 03 Jan 2002 17:22:35 EST Organization: http://www.newsranger.com Date: Thu, 03 Jan 2002 22:22:35 GMT Xref: archiver1.google.com comp.lang.ada:18495 Date: 2002-01-03T22:22:35+00:00 List-Id: In article <3C34D252.4070307@mail.com>, Hyman Rosen says... >But get away from C/C++ for a moment. In pure Ada terms, isn't it less safe >for the defaults to be "and" and "or" instead of "and then" and "or else"? Perhaps for ex-C programmers it is. But that's certianly not the only pitfall in the language for ex-C programmers. If you were instead brought up to believe that boolean "and" is communitive, like they teach in math/logic classes, then it makes perfect sense. In that case, "and then" is just a nice shorthand for " then if ... then". --- T.E.D. homepage - http://www.telepath.com/dennison/Ted/TED.html No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced.