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


Groups > comp.lang.python > #68155

Re: golang OO removal, benefits. over python?

Path csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From Marko Rauhamaa <marko@pacujo.net>
Newsgroups comp.lang.python
Subject Re: golang OO removal, benefits. over python?
Date Mon, 10 Mar 2014 18:16:30 +0200
Organization A noiseless patient Spider
Lines 15
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>
Mime-Version 1.0
Content-Type text/plain; charset=us-ascii
Injection-Info mx05.eternal-september.org; posting-host="ff5cf27ef3d5b31f034d3b72bdc27a41"; logging-data="25486"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18zb10I8Yc/uUXpnUr6aGRu"
User-Agent Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux)
Cancel-Lock sha1:6CiTX/MrvpQ0B6o5m9Zo04Py/2U= sha1:LUzoxTxdHFai5YD1B84ummia3/g=
Xref csiph.com comp.lang.python:68155

Show key headers only | 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