in reply to I don't think inheritance is essential
in thread Advanced Perl Programming, 2nd edition
IMO your point number two is pretty fundamental to object orientation and is a very good one-line synopsis, you take a class and extend it by adding functionality, but keeping all the stuff you don't want to re-invent. And it gives you a nice tree to draw when you are designing your system.
Personally, I can't think of a good reason not to use inheritance.
How can you feel when you're made of steel? I am made of steel. I am the Robot Tourist.
Robot Tourist, by Ten Benson
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: I don't think inheritance is essential
by chromatic (Archbishop) on Sep 01, 2005 at 17:18 UTC | |
by sri (Vicar) on Sep 02, 2005 at 00:05 UTC |