From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f7344,8be18979db11f51c X-Google-Attributes: gidf7344,public X-Google-Thread: 1164f8,fb631c9316319fef X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 2001-02-28 10:30:07 PST Path: supernews.google.com!sn-xit-02!supernews.com!news.gv.tsc.tdk.com!newsfeed.berkeley.edu!ucberkeley!europa.netcrusader.net!64.154.60.72!cyclone2.usenetserver.com!news-out.usenetserver.com!sjc-peer.news.verio.net!news.verio.net!iad-read.news.verio.net.POSTED!kilgallen From: Kilgallen@eisner.decus.org.nospam (Larry Kilgallen) Newsgroups: comp.os.vms,comp.sys.dec Subject: Re: Drop C/C++ better sooner than later Message-ID: References: <97cd06$hcn$1@pyrite.mv.net> <97egck$vc6$3@info.cs.uofs.edu> <3A9AEFCD.AFC8431@infopuls.com> <97etsu$j41$1@pyrite.mv.net> <3A9B023A.CBD414A5@infopuls.com> <3A9C2B88.8032D829@infopuls.com> <97j1jq$g00$1@info.cs.uofsDistribution: world Organization: LJK Software Date: 28 Feb 2001 13:22:11 -0500 NNTP-Posting-Host: 216.44.122.34 X-Complaints-To: abuse@verio.net X-Trace: iad-read.news.verio.net 983384536 216.44.122.34 (Wed, 28 Feb 2001 18:22:16 GMT) NNTP-Posting-Date: Wed, 28 Feb 2001 18:22:16 GMT Xref: supernews.google.com comp.os.vms:20561 comp.sys.dec:2927 In article , rdeininger@mindspring.com (Robert Deininger) writes: > The backdoors in Ada aren't obsure or hard to understand. There was an > effort to make use of backdoors (unchecked deallocation, unchecked > conversion ...) very explicit and obvious to the reader. And you don't > need such things very often in Ada. Most programs never see them. I > think they are most often abused by people trying to write C code using > Ada syntax. That does lead to horrible code in a hurry. I have found significant uses for UNCHECKED_CONVERSION and also for UNCHECKED_DEALLOCATION, but I try to follow the "spirit" of Ada in my instantiations with name choices such as: function UNCHECKED_LONGWORD_TO_POINTER is new UNCHECKED_CONVERSION ... so at each _use_ I am reminded that I am using UNCHECKED_CONVERSION.