Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!uwm.edu!zaphod.mps.ohio-state.edu!tut.cis.ohio-state.edu!ucbvax!mtxinu!unisoft!hoptoad!hsfmsh!dumbcat!marc From: marc@dumbcat.UUCP (Marco S Hyman) Newsgroups: comp.object Subject: Violating encapsulation Message-ID: <130@dumbcat.UUCP> Date: 29 Nov 89 05:33:49 GMT Reply-To: marc@dumbcat.UUCP (Marco S Hyman) Organization: MH Software, Hayward, Ca. Lines: 11 References: Several posters have commented on how inheritance violates encapsulation. Are we not discussing design issues of various OO languages? If a language allows a subclass access to local variables of a superclass then in that language all local variables become part of the interface. Accept it or change languages. Now tell me why I'm wrong. I always like learning new things. // marc -- // Marco S. Hyman {ames,pyramid,sun}!pacbell!dumbcat!marc Brought to you by Super Global Mega Corp .com