Chris Angelico <ros...@gmail.com>:

> Java's MI simply doesn't exist (that's perfectly pure!), although
> implementing interfaces can do a lot of it; but then you end up
> duplicating piles of code (on the other hand, that's nothing new in
> Java code).

Java 8 has default methods for interfaces. That covers one principal use
case of multiple inheritance.

That said, I find I'm using stray duck-typed classes in Python all the
time. For some reason, inheritance doesn't crop up all that much.


Marko
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to