Larry Wall wrote:
Yes, that's a very good paper, which is why Perl 6 now has something
called Roles, which are intended to degenerate either to Traits or
Interfaces. My take on it is that Roles' most important, er, role
will be to abstract out the decision to compose or delegate. But we'd
like th
copies
of instance variables in the case of multiple inheritance, and problems with the order
of method definition in the case of mixins) [SDNB03].
It is from link i provided in previous post.
-Dmitry Dorofeev.
the
best language ever.
-Dmitry Dorofeev.
now if 'killed' method called from the other methods in the class. But
that may be
not a problem if we just declare forget blah, without affecting run-time.
I am very interested what Perl gurus think about it. Even if you consider this as
stupidiest idea ever.
Which is probably true :-)
-Dmitry Dorofeev.