From: widget!jgg@uunet.uu.net (Xmiester)
Subject: Re: Ada vs. C++ Paper (was Re: Why ADA?)
Date: 17 Apr 92 23:52:20 GMT [thread overview]
Message-ID: <1992Apr17.235220.19786@widget!uunet.uu.net> (raw)
>
>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
next reply other threads:[~1992-04-17 23:52 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
1992-04-17 23:52 Xmiester [this message]
-- strict thread matches above, loose matches on Subject: below --
1992-04-29 0:27 Ada vs. C++ Paper (was Re: Why ADA?) Dan Olson
1992-04-24 14:47 Richard Bielak
1992-04-20 16:27 dog.ee.lbl.gov!hellgate.utah.edu!cs.utexas.edu!asuvax!ennews!enuxha.eas.a
1992-04-18 13:03 Bjarne Stroustrup
1992-04-18 9:35 eru.mt.luth.se!lunic!sunic!lth.se!newsuser
1992-04-17 21:17 micro-heart-of-gold.mit.edu!news.bbn.com!usc!elroy.jpl.nasa.gov!aero.org!
1992-04-17 16:31 Larry M. Jordan
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox