Needed: Real-world examples for Python's Cooperative Multiple Inheritance

André Malo ndparker at gmail.com
Sun Nov 28 20:46:07 CET 2010


* Steve Holden wrote:

> Even inheritance itself isn't as useful as it at first
> appears, and composition turns out in practice to be much more useful.
> That goes double for multiple inheritance.

Amen.

nd
-- 
my @japh = (sub{q~Just~},sub{q~Another~},sub{q~Perl~},sub{q~Hacker~});
my $japh = q[sub japh { }]; print join       #########################
 [ $japh =~ /{(.)}/] -> [0] => map $_ -> ()  #            André Malo #
=> @japh;                                    # http://www.perlig.de/ #



More information about the Python-list mailing list