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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,b0d569080889afd6 X-Google-Attributes: gid103376,public From: Hyman Rosen Subject: Re: A question for my personal knowledge. Date: 1999/05/18 Message-ID: #1/1 X-Deja-AN: 479495299 Sender: hymie@calumny.jyacc.com References: <1VEZ2.1515$I51.88140@carnaval.risq.qc.ca> <37372A84.641F2133@bigfoot.com> <7h8oe8$2js$1@cf01.edf.fr> <37382B0C.A95B6745@bigfoot.com> <7h9o21$9v4$1@nnrp1.deja.com> <7h9pei$aut$1@nnrp1.deja.com> <373AC668.4824FF07@decada.enet.dec.com> <7hfctj$1kb4@drn.newsguy.com> <7hqcni$p8r@sjx-ixn1.ix.netcom.com> X-Complaints-To: abuse@panix.com X-Trace: news.panix.com 927044905 24065 209.49.126.226 (18 May 1999 16:28:25 GMT) Organization: PANIX Public Access Internet and UNIX, NYC NNTP-Posting-Date: 18 May 1999 16:28:25 GMT Newsgroups: comp.lang.ada Date: 1999-05-18T16:28:25+00:00 List-Id: Richard D Riehle writes: > For example, a properly designed C++ class requires at least one > constructor, a copy constructor, overloading of assignment, and a > destructor. That is completely untrue, if you mean that the programmer must supply those methods, since the compiler will write all of these for you if you don't write them yourself. You only need your own if the default ones are not suitable for your purposes. But for those cases, you would have to do the same in Ada, I imagine. > A superficial examination of these two forms would lead one to > conclude that C++ is simpler. That is a problem with superficial > examinations. It is also the origin of an interesting paradox > when comparing C++ and Ada in more depth. Why don't you show us an example of some class or object where the Ada is simpler than the C++? Then we'll have something concrete to look at.