golang OO removal, benefits. over python?

Chris Angelico rosuav at gmail.com
Mon Mar 10 12:32:48 EDT 2014


On Tue, Mar 11, 2014 at 3:16 AM, Marko Rauhamaa <marko at pacujo.net> wrote:
> Chris Angelico <rosuav at 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.

Okay, wasn't aware of that. Been a few years since I did anything with
Java. Still, the Java philosophy seems to be "start with maximum
purity, then add as little practicality as we can get away with",
rather than "let's make something useful, and let the language
theorists figure out what it's called".

ChrisA



More information about the Python-list mailing list