Keep It Simple, Stupid | |
PerlMonks |
Re: Re: Re: The world is not object orientedby hardburn (Abbot) |
on Jan 02, 2004 at 16:34 UTC ( [id://318345]=note: print w/replies, xml ) | Need Help?? |
The inheritance tree is called that, because it is used for implementing inheritance, not polymorphism. Polymorphism means you have several things, that you can treat in a uniform way, for example because they all implement the same interface. Subclasses, in general, have the same interface as their parents, which means that polymorphism and inheirtance are tightly bound. ---- : () { :|:& };: Note: All code is untested, unless otherwise stated
In Section
Meditations
|
|