Article View: comp.lang.java
Article #163Re: Will Java kill C++?
From: Matt Kennel
Date: Tue, 09 Apr 1996 20:08
Date: Tue, 09 Apr 1996 20:08
37 lines
2062 bytes
2062 bytes
Peter Jackson (pjacks1@gl.umbc.edu) wrote: : > What about multiple inheritance? : From the white paper on Java: : Multiple inheritance - and all the problems it generates - has been : discarded from Java. The desirable features of multiple inheritance are : provided by interfaces - conceptually similar to Objective C protocols. There are desirable features of multiple inheritance not provided by 'interfaces' which work cleanly and without problem. They just don't happen to work like C++. : > Functions as first class objects? : Ummm...what are functions? I've never heard of a java function, only a C : function. : Another quote from the paper: : Java has no functions. Object oriented supesedes functional and procedural : styles. Mixing the two just leads to confusion and dilutes the purity of : an object oriented language. And our precious bodily fluids, no doubt. What we're talking about is 'closures' which are sort of like very-souped- up function pointers and they work just fine with object oriented programming. I happen to program in an OO language which has MI of implementation and interface (separated) and a bit of closures and real genericity some other cool things not yet even known to Java's philosphy. : Peter Jackson, CNA * Life's a BETA,
Technical Details
Message-ID:
<4keg36$cc4@gaia.ns.utk.edu>Path:
arc1-ca.pugleaf.net!gaia.ns.utk.edu!mbkReferences:
<3134D499.653E@ix.netcom.com> <315BFB16.B74@isg.de> <4jgv6t$hon@kadath.zeitgeist.net> <4k3cdo$np5@taurus.adnc.com> <DpEJnu.DDL@news.hawaii.edu> <Pine.SGI.3.91.960405170438.21749A-100000@umbc8.umbc.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!gaia.ns.utk.edu!mbk From: mbk@caffeine.engr.utk.edu (Matt Kennel) Newsgroups: comp.lang.java,comp.lang.c++,comp.lang.smalltalk Subject: Re: Will Java kill C++? Followup-To: comp.lang.java,comp.lang.c++,comp.lang.smalltalk Date: 9 Apr 1996 20:08:06 GMT Organization: University of Tennessee, Knoxville and Oak Ridge National Laboratory Message-ID: <4keg36$cc4@gaia.ns.utk.edu> References: <3134D499.653E@ix.netcom.com> <315BFB16.B74@isg.de> <4jgv6t$hon@kadath.zeitgeist.net> <4k3cdo$np5@taurus.adnc.com> <DpEJnu.DDL@news.hawaii.edu> <Pine.SGI.3.91.960405170438.21749A-100000@umbc8.umbc.edu> Reply-To: kennel@msr.epm.ornl.gov NNTP-Posting-Host: caffeine.engr.utk.edu X-Newsreader: TIN [version 1.2 PL2]