http://www.perlmonks.org?node_id=346513


in reply to Re: Re: Re: Apocalypse 12
in thread Apocalypse 12

My goodness. Such a lot of stuff in one article. I will try to address the concerns separately.
1. Having read the discussion of how roles will be implemented with multiple inheritance, how well will the role/trait stuff play with people declaring the current inheritance model?
Should be no problem at all. The internal MI implementation of roles is hidden from view. That's part of what's "funny" about it.

Replies are listed 'Best First'.
Re: Re: Re: Re: Re: Apocalypse 12
by tilly (Archbishop) on Apr 20, 2004 at 23:49 UTC
    Got it..maybe. When you describe here that roles are actually done with multiple inheritance, you are actually walking about multiple inheritance being used when you WALKMETH, so that even though you think that you are only inheriting along a chain, some links of the chain of inheritance may choose to search a little hidden sub-bush. (Particularly if your Role declared that it is some other class.)

    Or something like that.

    But it doesn't matter whether I understand this. I just hope that the implementor gets the joke...

      I hope so too, considering it's the implementor that made up the joke in the first place. If anything, the joke was on me. Which is the other part that makes it really, really funny... :-)