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


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

Re: multiple inheritance

Path csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!npeer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!nx02.iad01.newshosting.com!newshosting.com!news-out.readnews.com!transit3.readnews.com!news-out.news.tds.net!newsreading01.news.tds.net!53ab2750!not-for-mail
From "Arne Vajhøj" <arne.vajhøj@1:261/38.remove-odu-this>
Subject Re: multiple inheritance
Message-ID <50294F05.56813.calajapr@time.synchro.net> (permalink)
X-Comment-To Roedy Green
Newsgroups comp.lang.java.programmer
X-FTN-AREA COMP.LANG.JAVA.PROGRAMMER
X-FTN-MSGID 1:261/38 a1d0f6e0
Content-Type text/plain; charset=IBM437
Content-Transfer-Encoding 8bit
X-Gateway time.synchro.net [Synchronet 3.16a-Win32 NewsLink 1.98]
Lines 44
Date Mon, 13 Aug 2012 19:38:35 GMT
NNTP-Posting-Host 69.21.70.65
X-Complaints-To news@tds.net
X-Trace newsreading01.news.tds.net 1344886715 69.21.70.65 (Mon, 13 Aug 2012 14:38:35 CDT)
NNTP-Posting-Date Mon, 13 Aug 2012 14:38:35 CDT
Organization tds.net
X-Received-Bytes 2149
Xref csiph.com comp.lang.java.programmer:17864

Show key headers only | View raw


  To: Roedy Green
From: "Arne Vajhoj" <arne.vajhoj@1:261/38.remove-nlb-this>

  To: Roedy Green
From: Arne Vajhoj <arne@vajhoej.dk>

On 8/2/2012 4:10 AM, Roedy Green wrote:
> On Wed, 1 Aug 2012 19:28:31 -0700 (PDT), bob smith
> <bob@coolfone.comze.com> wrote, quoted or indirectly quoted someone
> who said :
>
>> Why doesn't Java support multiple inheritance?
>
> 1. It has interfaces which gives much of the ability at lighter
> weight..

Only for a very limited type of types (those with no implementation at all).

> 2. Java originally was intended for set top boxes. That is too
> heavyweight a feature.

C++ is used a lot in embedded context, so that argument does not hold water.

> 3. Study Eiffel. implementing it is quite tricky, especially when you
> get name  clashes.
>
> you might see it in Java 11 or so, or whatever language inherits the
> Java mantle.

Not likely.

It is not desirable.

Arne

-+- BBBS/Li6 v4.10 Dada-1
 + Origin: Prism bbs (1:261/38)
-+- Synchronet 3.16a-Win32 NewsLink 1.98
Time Warp of the Future BBS - telnet://time.synchro.net:24

--- BBBS/Li6 v4.10 Dada-1
 * Origin: Prism bbs (1:261/38)
--- Synchronet 3.16a-Win32 NewsLink 1.98
Time Warp of the Future BBS - telnet://time.synchro.net:24

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


Thread

Re: multiple inheritance "Arne Vajhøj" <arne.vajhøj@1:261/38.remove-odu-this> - 2012-08-13 19:38 +0000
  Re: multiple inheritance "Lew" <lew@1:261/38.remove-odu-this> - 2012-08-13 19:38 +0000
    Re: multiple inheritance "Arne Vajhøj" <������
høj@1:261/38.remove-7rm-this> - 2012-08-18 19:37 +0000
  Re: multiple inheritance "Leif Roar Moldskred" <leif.roar.moldskred@1:261/38.remove-odu-this> - 2012-08-13 19:38 +0000
    Re: multiple inheritance "markspace" <markspace@1:261/38.remove-odu-this> - 2012-08-13 19:38 +0000
    Re: multiple inheritance "Arne Vajhøj" <������
høj@1:261/38.remove-7rm-this> - 2012-08-18 19:38 +0000

csiph-web