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


Groups > comp.lang.java.programmer > #16945

Re: multiple inheritance

Path csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail
From markspace <-@.>
Newsgroups comp.lang.java.programmer
Subject Re: multiple inheritance
Date Wed, 01 Aug 2012 20:07:58 -0700
Organization A noiseless patient Spider
Lines 15
Message-ID <jvcqug$8d0$1@dont-email.me> (permalink)
References <ad4daccd-4c15-4121-85e8-e8684c32b8a8@googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
Injection-Date Thu, 2 Aug 2012 03:08:01 +0000 (UTC)
Injection-Info mx04.eternal-september.org; posting-host="104ea93b2a90d763b2b4538d1ef3ad00"; logging-data="8608"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/LodH5/pRBo/kbp832kO6lmM3tls/RCNM="
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20120713 Thunderbird/14.0
In-Reply-To <ad4daccd-4c15-4121-85e8-e8684c32b8a8@googlegroups.com>
Cancel-Lock sha1:g8izicJ01Uv+HUSgmMUMIPEflyk=
Xref csiph.com comp.lang.java.programmer:16945

Show key headers only | View raw


On 8/1/2012 7:28 PM, bob smith wrote:
> Why doesn't Java support multiple inheritance?
>

The diamond problem.  I'm not really up on the details however.

I can tell you from hanging out on the lambda-dev list (Java 8 features) 
that Brian Goetz has pushed back strongly on any sort of multiple 
inheritance.  Apparently the diamond problem is a real bear and 
introduces real complexity into both the compiler and the user code that 
can cause big problems in the long run.

http://en.wikipedia.org/wiki/Diamond_problem

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


Thread

multiple inheritance bob smith <bob@coolfone.comze.com> - 2012-08-01 19:28 -0700
  Re: multiple inheritance markspace <-@.> - 2012-08-01 20:07 -0700
    Re: multiple inheritance Gene Wirchenko <genew@ocis.net> - 2012-08-01 21:07 -0700
  Re: multiple inheritance Eric Sosman <esosman@ieee-dot-org.invalid> - 2012-08-01 23:12 -0400
  Re: multiple inheritance Joshua Cranmer <Pidgeot18@verizon.invalid> - 2012-08-01 23:41 -0400
    Re: multiple inheritance Lew <lewbloch@gmail.com> - 2012-08-02 01:05 -0700
    Re: multiple inheritance Arne Vajhøj <arne@vajhoej.dk> - 2012-08-12 23:15 -0400
  Re: multiple inheritance Roedy Green <see_website@mindprod.com.invalid> - 2012-08-02 01:10 -0700
    Re: multiple inheritance Arne Vajhøj <arne@vajhoej.dk> - 2012-08-12 23:08 -0400
      Re: multiple inheritance Lew <noone@lewscanon.com> - 2012-08-12 20:19 -0700
        Re: multiple inheritance Arne Vajhøj <arne@vajhoej.dk> - 2012-08-17 22:33 -0400
      Re: multiple inheritance Leif Roar Moldskred <leifm@dimnakorr.com> - 2012-08-13 05:55 -0500
        Re: multiple inheritance markspace <-@.> - 2012-08-13 07:58 -0700
        Re: multiple inheritance Arne Vajhøj <arne@vajhoej.dk> - 2012-08-17 22:38 -0400
  Re: multiple inheritance Jan Burse <janburse@fastmail.fm> - 2012-08-02 10:12 +0200

csiph-web