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 07:39:22 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!bloom-beacon.mit.edu!nycmny1-snh1.gtei.net!chcgil2-snf1.gtei.net!news.gtei.net!news.binc.net!kilgallen From: Kilgallen@SpamCop.net (Larry Kilgallen) Newsgroups: comp.lang.ada Subject: Re: A case where Ada defaults to unsafe? Date: 4 Jan 2002 09:39:06 -0600 Organization: LJK Software Message-ID: References: <3C34BF2C.6030500@mail.com> <3C34D252.4070307@mail.com> NNTP-Posting-Host: eisner.encompasserve.org X-Trace: grandcanyon.binc.net 1010158749 25751 192.135.80.34 (4 Jan 2002 15:39:09 GMT) X-Complaints-To: abuse@binc.net NNTP-Posting-Date: Fri, 4 Jan 2002 15:39:09 +0000 (UTC) Xref: archiver1.google.com comp.lang.ada:18528 Date: 2002-01-04T09:39:06-06:00 List-Id: In article , Robert A Duff writes: > If you're looking for cases where Ada makes the default less safe, I can > think of a few. Here's one: "X: T := ...;" is a variable, whereas > "X: constant T := ...;" is a constant. IMHO, it should be the other way > around ("X: var T := ...;" for a variable), since constants are safer > than variables. Only if testing is thorough.