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



* 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/ #
.



Relevant Pages

  • Re: multiple inheritance
    ... "andy" wrote in message ... > Should multiple inheritance be totally avoided or as long as the ... > practice to derive a class from a parent class and several other ... I know about problems with EBO and ...
    (comp.lang.cpp)
  • Re: multiple inheritance
    ... class B: A {int varB;}; ... There are even more convoluted orders in practice, but this is the sort of stuff that tends to cause nasty sorts of little edge cases in practice. ... It is rare in practice that you need true multiple inheritance, in the sense of inheritance of implementation; multiple inheritance of interface is common, and this is as far as Java goes. ...
    (comp.lang.java.programmer)
  • Re: multiple inheritance
    ... Strictly speaking, Java does support multiple inheritance, just not from ... This is because multiple inheritance of implementation is silly. ... class B: A {int varB;}; ... of little edge cases in practice. ...
    (comp.lang.java.programmer)
  • Re: multiple inheritance
    ... Strictly speaking, Java does support multiple inheritance, just not from ... This is because multiple inheritance of implementation is silly. ... class B: A {int varB;}; ... of little edge cases in practice. ...
    (comp.lang.java.programmer)
  • Re: multiple inheritance
    ... Strictly speaking, Java does support multiple inheritance, just not from ... This is because multiple inheritance of implementation is silly. ... class B: A {int varB;}; ... of little edge cases in practice. ...
    (comp.lang.java.programmer)