Path: csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!news.glorb.com!news-in-01.newsfeed.easynews.com!easynews.com!easynews!news-out.news.tds.net!newsreading01.news.tds.net!53ab2750!not-for-mail From: "Arne Vajhøj" Subject: Re: multiple inheritance Message-ID: <502943B5.56769.calajapr@time.synchro.net> X-Comment-To: Roedy Green Newsgroups: comp.lang.java.programmer In-Reply-To: <501AC32D.55946.calajapr@time.synchro.net> References: <501AC32D.55946.calajapr@time.synchro.net> X-FTN-AREA: COMP.LANG.JAVA.PROGRAMMER X-FTN-MSGID: 1:261/38 d2b4e9fa X-FTN-REPLY: 1:261/38 efc93178 Content-Type: text/plain; charset=IBM437 Content-Transfer-Encoding: 8bit X-Gateway: time.synchro.net [Synchronet 3.16a-Win32 NewsLink 1.98] Lines: 36 Date: Mon, 13 Aug 2012 18:36:20 GMT NNTP-Posting-Host: 69.21.70.65 X-Complaints-To: news@tds.net X-Trace: newsreading01.news.tds.net 1344882980 69.21.70.65 (Mon, 13 Aug 2012 13:36:20 CDT) NNTP-Posting-Date: Mon, 13 Aug 2012 13:36:20 CDT Organization: tds.net X-Received-Bytes: 1962 Xref: csiph.com comp.lang.java.programmer:17821 To: Roedy Green From: Arne Vajhoj On 8/2/2012 4:10 AM, Roedy Green wrote: > On Wed, 1 Aug 2012 19:28:31 -0700 (PDT), bob smith > 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