add_role and remove_role on a Class PMC
Jonathan "Duke" Leto
jonathan at leto.net
Mon Feb 21 18:24:33 UTC 2011
Howdy,
> Removing a role doesn't really make much sense to me. Composition is
> flattening, which means that you'd probably have to re-compose everything
> and - worse - keep around extra information to allow you to do so once a
> role was removed. So I'm not surprised nobody ever implemented role removal
> - it's probably a semantic can of worms. Of course, hindsight is 20/20. :-)
Just to clarify, the Object PMC implements the remove_role VTABLE. Does it work?
That is a different question.
Duke
--
Jonathan "Duke" Leto
jonathan at leto.net
http://leto.net
More information about the parrot-dev
mailing list