in reply to (Ovid) Re(3): A question of Inheritance
in thread A question of Inheritance
There are many different pieces of functionality that can go into an OO implementation. One person will want to separate classes from instances. Another person wants to be able to inherit from prototypes. One person wants to have multiple inheritance. Another multiple dispatch. Another thinks that complexity is bad, single dispatch with single inheritance only.
And so on.
I don't think that Perl's selection of choices is particularly deficient as far as a wishlist of features goes. And as TheDamian points out in his book, it is possible to build on top of Perl's OO the ability to do the various things that the native OO doesn't directly do.
So no. It isn't the, "Can't get there from here" issues that bug me about Perl's OO. Rather it is the feeling that there are seams where you can see that it was bolted on later, and there is a feeling of clumsiness about it. But it works pretty well for all that...
|
|---|