in reply to Re: Re: The world is not object oriented
in thread The world is not object oriented
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.
----
I wanted to explore how Perl's closures can be manipulated, and ended up creating an object system by accident.
-- Schemer
: () { :|:& };:
Note: All code is untested, unless otherwise stated
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: The world is not object oriented
by chromatic (Archbishop) on Jan 02, 2004 at 17:30 UTC |