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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,103b407e8b68350b X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-01-07 19:51:25 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!cyclone.bc.net!HSNX.atgi.net!newshosting.com!news-xfer1.atl.newshosting.com!uunet!dca.uu.net!ash.uu.net!spool0901.news.uu.net!spool0900.news.uu.net!reader0902.news.uu.net!not-for-mail Date: Tue, 07 Jan 2003 22:51:22 -0500 From: Hyman Rosen User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3a) Gecko/20021212 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Anybody in US using ADA ? One silly idea.. References: <3E1ADB65.9CE834C0@adaworks.com> In-Reply-To: <3E1ADB65.9CE834C0@adaworks.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Organization: KBC Financial Products Message-ID: <1041997882.919592@master.nyc.kbcfp.com> Cache-Post-Path: master.nyc.kbcfp.com!unknown@nightcrawler.nyc.kbcfp.com X-Cache: nntpcache 3.0.1 (see http://www.nntpcache.org/) NNTP-Posting-Host: 204.253.250.10 X-Trace: 1041997883 reader2.ash.ops.us.uu.net 17896 204.253.250.10 Xref: archiver1.google.com comp.lang.ada:32721 Date: 2003-01-07T22:51:22-05:00 List-Id: Richard Riehle wrote: > Some have suggested the C++ model for generics is slightly better > than that in Ada. I respectfully suggest that the improved flexibility > also results in a degradation of reliability. Since generics are "expanded" at compile-time, you cannot mean the usual things that reliability means with respect to C++, such as indexing out of array bounds, or using bad pointers, or overflowing arithmetic. So I assume that you mean instead that the C++ model makes it more difficult to see, at the point of use, exactly which piece of code is being invoked. As I recall, it was exactly this concern which led to the tragic lack of pointers to functions in Ada83. I suppose some lessons need to be learned over and over again.