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,1cf653444208df72 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-10-03 22:08:15 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!feed2.news.rcn.net!rcn!chnws02.mediaone.net!chnws06.ne.mediaone.net!24.128.8.202!typhoon.ne.mediaone.net.POSTED!not-for-mail Message-ID: <3BBBEEE9.A9F4EA5A@mediaone.net> From: Ed Falis X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.4.3 i686) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: ada vs. cpp References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Thu, 04 Oct 2001 05:07:46 GMT NNTP-Posting-Host: 24.60.16.59 X-Complaints-To: abuse@mediaone.net X-Trace: typhoon.ne.mediaone.net 1002172066 24.60.16.59 (Thu, 04 Oct 2001 01:07:46 EDT) NNTP-Posting-Date: Thu, 04 Oct 2001 01:07:46 EDT Organization: Road Runner Xref: archiver1.google.com comp.lang.ada:13704 Date: 2001-10-04T05:07:46+00:00 List-Id: Pi wrote: > 4th : Polymorphism > Argh, only possible with tagged type and true crap, so stick with C++ > Or you can try to hand-code it, but it's far less flexible and > error-prone. But IMNSHO still better than Ada's tagged type variant. Well, I guess we're all entitled to our opinions. Yes, compared to perhaps Eiffel, tagged types can occasionally be a bit clumsy, but not particularly compared to C++. And yes, it is far less error-prone than ..., but certainly no less flexible ;-) > > 5th : Multiple Heritage > Not possible with Ada. "Bull-Hockey", to quote someone I can't remember. Aside from various idioms for common cases laid out in the Ada 95 Rationale, you can do fully general multiple inheritance using access discriminants (also described in the Rationale). It's just that it's a bit more clumsy than in some other languages. - Ed