In article 
<[EMAIL PROTECTED]>,
 "Andrew Koenig" <[EMAIL PROTECTED]> wrote:

> "Carl Banks" <[EMAIL PROTECTED]> wrote in message 
> news:[EMAIL PROTECTED]
> 
> > Well, Python seems to get along fine without the ability to do
> > isinstance(foo,file_like_object); probably better off in the end for
> > it.  So I'd say you should generally not do it.  Inheritence is for
> > when different classes need to share functionality.
> 
> That's really the question:  Is it for when they need to share 
> functionality, or when they are conceptually related in ways that might lead 
> to shared functionality later?

No -- inheritance is for implementation, not to express conceptual
relationship.

   Donn Cave, [EMAIL PROTECTED]
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to