From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.5-pre1 (2020-06-20) on ip-172-31-74-118.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-1.9 required=3.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.5-pre1 Date: 17 Apr 92 23:52:20 GMT From: widget!jgg@uunet.uu.net (Xmiester) Subject: Re: Ada vs. C++ Paper (was Re: Why ADA?) Message-ID: <1992Apr17.235220.19786@widget!uunet.uu.net> List-Id: > >One problem with C++'s inheritance is naming conflicts. If an operation >is given by a parent and a grandparent have the same name, the user must >explicitly name the grandparent in the call if they wish to invoke that >operation. This completely violates the infoirmation hiding OO was >supposed to provide us. Isn't this a contradictory statement ? If you're trying to access a grandparent of a class you inherit from, you've thrown away *information* hiding right off the bat. -- John Goodsen goodsenj@ajpo.sei.cmu.edu