From: James Davis Date: 2003-02-14T03:49:51+09:00 Subject: Re: inheriting from base classes On Thu, 13 Feb 2003 05:59:52 +0900, Paul Brannan wrote: >Some more reasons to avoid inheriting from concrete classes: >(note that inheriting from base classes is always okay; I'd love to see >an example of someone inheriting from a class that is not a base class >:). > >Paul Sorry for being ignorant, but I'm confused. What do you mean by 'concrete' vs. 'base' classes? When David started this thread he said: > DAB> Gavin Sinclair and I have been involved in an interesting > DAB> exchange about the merits (or lack thereof) of inheriting > DAB> from base classes, in particular String/Array/Hash. Some of the examples you cited included String, and Array (base classes). Your examples show problems inheriting from String and Array, yet above you say it is always okay. Could you clarify? Thanks, - Jim -