> ...
>> I have Class A as superclass.
[quoted text clipped - 11 lines]
>
> Andrew T.
Hi,
Thank you for your response.
> I share Andrew's doubts about a design with that many layers.
As a rule of thumb, how many is indicating too many ?
Thank you,
xtanto
> > ...
> >> I have Class A as superclass.
[quoted text clipped - 22 lines]
>
> Patricia
Patricia Shanahan - 07 Oct 2006 04:09 GMT
[Rearranged to avoid top posting confusion]
>>> ...
>>>> I have Class A as superclass.
[quoted text clipped - 28 lines]
>
> As a rule of thumb, how many is indicating too many ?
I don't think there is any rule of thumb, but an increasing queasiness
as the number of inheritance levels increases. We have at least 5 levels
here (Object, D, A, B, C). Whether it makes sense to go that deep
depends on what the classes are about, but it is deep enough that I
would question it in my own code.
Patricia