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=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,56131a5c3acc678e X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-12-06 19:07:10 PST Path: archiver1.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!crtntx1-snh1.gtei.net!news.gtei.net!newsfeed1.easynews.com!easynews.com!easynews!small1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!intern1.nntp.aus1.giganews.com!nntp.giganews.com!nntp.rapidnet.com!news.rapidnet.com.POSTED!not-for-mail NNTP-Posting-Date: Sat, 06 Dec 2003 21:07:08 -0600 Date: Sat, 06 Dec 2003 21:02:11 -0600 From: Chad Bremmon Reply-To: bremmon@acm.org User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Question about OO programming in Ada References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Message-ID: <5JmdnUF_9o_ABE-iRTvUrg@rapidnet.com> NNTP-Posting-Host: 12.13.119.70 X-Trace: sv3-8GR7EtpeSN5zGlfYqPny/j/ovdHXvIQWEGdJ+tw+rfhfpKJZ/X0WyrwYFgtJVJDkjBRC1rVDd2ESo0u!dzfvZ1nAPgu/oFa7svzzBcFtqiXhaOSyNEvFzRFVbK/KMDsAepN/gnl8MHzPGZqH66m8pDd4a++X X-Complaints-To: abuse@rapidnet.com X-DMCA-Complaints-To: abuse@rapidnet.com X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.1 Xref: archiver1.google.com comp.lang.ada:3191 Date: 2003-12-06T21:02:11-06:00 List-Id: I understand that. My point is that if you only want encapsulation, you have to use a class in C++...with all of the overhead. In ada, you just use a private type. You don't even need it to be tagged. To do things that Ada 83 did, you need to use classes in C++. Encapsulation, Information hiding, etc, were all things supported in Ada83. Hyman Rosen wrote: > Chad Bremmon wrote: > >> C++ piles a lot of crap, pardon the French into the definition for a >> class. > > > That's because C++ classes do double duty, also acting in > the role that Ada packages fulfill. >