From: Paul Brannan Date: 2003-02-11T23:54:00+09:00 Subject: Re: inheriting from base classes On Tue, Feb 11, 2003 at 11:50:19PM +0900, Paul Brannan wrote: > Providing checks like this is ugly and unproductive, particularly > since it would change the behavior of the base class. Let me elaborate on this. The behavior of Array does not change, but if a method in Array depends on one of its method having a particular behavior, and you change that method in the derived class to have similar but different behavior, you are likely to break something (perhaps silently -- your unit tests might pass, even though you have a bug that won't show up for quite some time). Paul