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,28cd155693714664 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-06-19 11:31:11 PST Path: archiver1.google.com!news2.google.com!news1.google.com!newsfeed.stanford.edu!bloom-beacon.mit.edu!news-out.cwix.com!newsfeed.cwix.com!news.binc.net!kilgallen From: Kilgallen@SpamCop.net (Larry Kilgallen) Newsgroups: comp.lang.ada Subject: Re: Faulty languages and Liability Date: 19 Jun 2002 13:31:08 -0600 Organization: LJK Software Message-ID: References: <3D0C7C0B.5000707@mail.com> <3D0EBE64.2070809@mail.com> <3D10BD36.9080102@attbi.com> NNTP-Posting-Host: eisner.encompasserve.org X-Trace: grandcanyon.binc.net 1024511383 31707 192.135.80.34 (19 Jun 2002 18:29:43 GMT) X-Complaints-To: abuse@binc.net NNTP-Posting-Date: Wed, 19 Jun 2002 18:29:43 +0000 (UTC) Xref: archiver1.google.com comp.lang.ada:26414 Date: 2002-06-19T13:31:08-06:00 List-Id: In article <3D10BD36.9080102@attbi.com>, "Robert I. Eachus" writes: > Hyman Rosen wrote: > > >> ...And look, right >> there in their manual - it says that in Ada you *have* >> to use Unchecked_Conversion and Unchecked_Dealloaction. >> See, they're lying about all the checking they claim to do! >> >> Gee, this is fun :-) > > > From hindsight it is obvious that the names of Unchecked_Conversion and > Unchecked_Deallocation were mistakes. But what would have been better? I _like_ the name "UNCHECKED_whatever". In fact, when instantiating those I have taken to using names like UNCHECKED_COPY and UNCHECKED_FREE to make sure the record of what is unchecked by the compiler is not lost.