Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #68155

Re: golang OO removal, benefits. over python?

From Marko Rauhamaa <marko@pacujo.net>
Newsgroups comp.lang.python
Subject Re: golang OO removal, benefits. over python?
Date 2014-03-10 18:16 +0200
Organization A noiseless patient Spider
Message-ID <87d2hurpup.fsf@elektro.pacujo.net> (permalink)
References <95cb6bd9-5030-4389-9891-578bb87af219@googlegroups.com> <CALwzidkJ=cWxRwimKVOZbVftnaJ236RCLtM8-n+1LXPjdg5BFg@mail.gmail.com> <mailman.8004.1394467278.18130.python-list@python.org>

Show all headers | View raw


Chris Angelico <rosuav@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

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

golang OO removal,  benefits. over python? flebber <flebber.crue@gmail.com> - 2014-03-09 21:49 -0700
  Re: golang OO removal,  benefits. over python? Rustom Mody <rustompmody@gmail.com> - 2014-03-09 22:05 -0700
  Re: golang OO removal, benefits. over python? Ian Kelly <ian.g.kelly@gmail.com> - 2014-03-10 01:50 -0600
    Re: golang OO removal, benefits. over python? Marko Rauhamaa <marko@pacujo.net> - 2014-03-10 10:38 +0200
      Re: golang OO removal, benefits. over python? flebber <flebber.crue@gmail.com> - 2014-03-10 04:45 -0700
      Re: golang OO removal, benefits. over python? Ian Kelly <ian.g.kelly@gmail.com> - 2014-03-11 14:21 -0600
  Re: golang OO removal, benefits. over python? Chris Angelico <rosuav@gmail.com> - 2014-03-11 03:01 +1100
    Re: golang OO removal, benefits. over python? Marko Rauhamaa <marko@pacujo.net> - 2014-03-10 18:16 +0200
      Re: golang OO removal, benefits. over python? Chris Angelico <rosuav@gmail.com> - 2014-03-11 03:32 +1100
  Re: golang OO removal,  benefits. over python? wxjmfauth@gmail.com - 2014-03-10 09:10 -0700
  Re: golang OO removal,  benefits. over python? Neil Cerutti <neilc@norwich.edu> - 2014-03-11 14:37 +0000

csiph-web