in reply to Re: I don't think inheritance is essential
in thread Advanced Perl Programming, 2nd edition
Personally, I can't think of a good reason not to use inheritance.
I can. It encourages code reuse along the wrong lines, caring more about position in an arbitrary (and quite possibly wrong hierarchy) than about the capabilities of the class.
That's why Perl 6 encourages the use of roles.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: I don't think inheritance is essential
by sri (Vicar) on Sep 02, 2005 at 00:05 UTC |