On Tuesday 29 August 2006 13:26, Jonathan Lang wrote: > Perl6 handles both object-orientation (through inheritance) and > role-playing (through composition).
What exactly does inheritance have to do with object orientation, except that some OO systems support inheritance? Plenty of OO systems get along just fine without it. I wrote a fuller explanation of roles in my work weblog: http://www.oreillynet.com/onlamp/blog/2006/08/roles_composable_units_of_obje.html -- c