Path: csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!newsfeed.xs4all.nl!newsfeed3a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.070 X-Spam-Evidence: '*H*': 0.86; '*S*': 0.00; 'interfaces': 0.04; 'cc:addr:python-list': 0.11; 'useful,': 0.14; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'it;': 0.16; 'java.': 0.16; 'subject:python': 0.16; 'language': 0.16; 'wrote:': 0.18; 'implementing': 0.19; 'seems': 0.21; 'cc:addr:python.org': 0.22; 'java': 0.24; 'cc:2**0': 0.24; 'header:In-Reply-To:1': 0.27; 'chris': 0.29; 'am,': 0.29; "doesn't": 0.30; 'message- id:@mail.gmail.com': 0.30; 'code': 0.31; 'that.': 0.31; '(on': 0.31; 'figure': 0.32; 'something': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'add': 0.35; 'subject:?': 0.36; 'rather': 0.38; 'little': 0.38; 'anything': 0.39; 'new': 0.61; 'simply': 0.61; 'maximum': 0.63; 'subject:. ': 0.67; 'mar': 0.68; 'covers': 0.68; 'default': 0.69; 'subject:over': 0.84; 'subject:removal': 0.84; 'to:none': 0.92; 'hand,': 0.93 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=96TdIoKyCLwxF2uNpIN8cLAqEEYM5i5CGxP3Fuscohw=; b=X0cBkrqJHw+zPKUCRJWzQbBQJW2LclCMaZ1ElWjC3YJSSL96yWWpklZPb3XPhgAuEM LzshK8Z6gBzW/BYKAtxsJcORV3BWpEHHfmm7pGUCGohRSQckrPYVtzOW+UosC/RLRZq3 6rSov1pe91GjyYjv+SQI+JRxwa+pRonDTJii8a9DGEH832VnIpNyYZXAYVgUisBKWYNw dInIXXJpdd6LEGI+vJaeFhHEB8ali6Tw82cio83WA/EUv2wmVCol+OlGq6y9KFaqjkKE YDChvedDm24d9QXIV/id7Z6vwW76nXZrBgRYqfKKVa6Q/QUX04gBNp8PXuoJB/UMr1q3 Lmpg== MIME-Version: 1.0 X-Received: by 10.68.200.74 with SMTP id jq10mr3739071pbc.169.1394469168059; Mon, 10 Mar 2014 09:32:48 -0700 (PDT) In-Reply-To: <87d2hurpup.fsf@elektro.pacujo.net> References: <95cb6bd9-5030-4389-9891-578bb87af219@googlegroups.com> <87d2hurpup.fsf@elektro.pacujo.net> Date: Tue, 11 Mar 2014 03:32:48 +1100 Subject: Re: golang OO removal, benefits. over python? From: Chris Angelico Cc: "python-list@python.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 18 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1394469171 news.xs4all.nl 2924 [2001:888:2000:d::a6]:44570 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:68158 On Tue, Mar 11, 2014 at 3:16 AM, Marko Rauhamaa wrote: > Chris Angelico : > >> 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