Re: Multi-Level Subclassing

Author: RSA Forward, eleafe@RSA-NET.COM

Posted: 1999-09-10 at 09:05:38

>Has anyone heard of or have experience with problems regarding

>subclassing more than a certain number of times?

No, that isn't a problem from a technical POV. At one Devcon, Calvin Hsia

demonstrated a class hierarchy of 100 levels (generated programmatically, of

course!), and that was still wicked fast. I belive the only hit comes at compile

time, not at run time.

However, any hierarchy more than a few levels deep might be problematic

from a desing POV. Make sure you aren't creating one-off classes, or subclasses

which differ only in a few property settings,

___/

/

__/

/

____/

Ed Leafe

http://leafe.com/

©1999 RSA Forward, eleafe@RSA-NET.COM