From: Dave Thomas Date: 2002-07-07T03:15:02+09:00 Subject: Re: to pass or to be? Tom Sawyer writes: > so i have a question realted to class inheritence: when a class inherits > from a superclass, is it good coding practice for the superclass to use > the childs instance variables? or should they be passed? for example: If a superclass accesses its child's instance variables, then by definition all children must have that variable (or the thing will break). Therefore the variable should be factored into the parent class. Dave