Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/5/84; site aphasia.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!cybvax0!frog!aphasia!gww From: gww@aphasia.UUCP (George Williams) Newsgroups: net.lang.c Subject: Re: Re: Object Programing and Objective C Message-ID: <326@aphasia.UUCP> Date: Tue, 22-Oct-85 15:31:35 EDT Article-I.D.: aphasia.326 Posted: Tue Oct 22 15:31:35 1985 Date-Received: Sat, 26-Oct-85 04:24:32 EDT References: <401@aurora.UUCP> <10200024@ada-uts.UUCP> Organization: Green Hills Software, Pasadena, CA Lines: 11 > BTW, anybody have any comments about the incongruity where you can > "dis-inherit" messages/procedures (by overriding > them with procedures that print errors) but cannot dis-inherit > instance variables that, in a certain subclass, lose their usefulness? I don't know SmallTalk, and am not sure what you are asking but... In SIMULA there was(is) a concept of HIDDEN/PROTECTED whereby variables in classes could be hidden from the outside world (as I recall HIDDEN completely hid the variable, and protected marked it as read-only, but I could be wrong). I don't remember how this affected sub-classes, but it would be pretty easy to add something that does...