Hi all.<br><br>What would people&#39;s reaction be if a&nbsp;class was&nbsp;prevented from being able to directly access its superclass&#39;s instance variables? A subclass  should use accessor methods to access a superclass&#39;s instance variables.<br>
<br>Is there any particular reason subclasses get access to superclass instance variables? I think it breaks encapsulation.<br><br>If this was implemented, it might be possible to avoid needing to recompile every subclass when you modify the instance variables of a class.<br>
<br>Gulik.<br clear="all"><br>-- <br><a href="http://people.squeakfoundation.org/person/mikevdg">http://people.squeakfoundation.org/person/mikevdg</a><br><a href="http://gulik.pbwiki.com/">http://gulik.pbwiki.com/</a>