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=-2.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, MAILING_LIST_MULTI autolearn=unavailable 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 19:37:03 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsfeeds.belnet.be!news.belnet.be!fr.usenet-edu.net!usenet-edu.net!enst!enst.fr!not-for-mail From: Eric Merritt Newsgroups: comp.lang.ada Subject: Re: A case where Ada defaults to unsafe? Date: Thu, 3 Jan 2002 19:35:52 -0800 (PST) Organization: ENST, France Sender: comp.lang.ada-admin@ada.eu.org Message-ID: Reply-To: comp.lang.ada@ada.eu.org NNTP-Posting-Host: marvin.enst.fr Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: avanie.enst.fr 1010115422 81174 137.194.161.2 (4 Jan 2002 03:37:02 GMT) X-Complaints-To: usenet@enst.fr NNTP-Posting-Date: Fri, 4 Jan 2002 03:37:02 +0000 (UTC) To: comp.lang.ada@ada.eu.org Return-Path: In-Reply-To: Errors-To: comp.lang.ada-admin@ada.eu.org X-BeenThere: comp.lang.ada@ada.eu.org X-Mailman-Version: 2.0.6 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: comp.lang.ada mail<->news gateway List-Unsubscribe: , Errors-To: comp.lang.ada-admin@ada.eu.org X-BeenThere: comp.lang.ada@ada.eu.org Xref: archiver1.google.com comp.lang.ada:18505 Date: 2002-01-03T19:35:52-08:00 --- Ted Dennison wrote: > 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"? > Who said these where the defaults? Does the language put them in for you? no. So they are not a default in any way. You (and me really) just tend to think of these as the default becuase of our history in other langauges. For someone that used Ada day in and day out these may not be a default at all. So just becuase we think a certain way about a syntatic construct does not mean it is an inherent flaw in the langauge. __________________________________________________ Do You Yahoo!? Send your FREE holiday greetings online! http://greetings.yahoo.com