From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: ** X-Spam-Status: No, score=2.9 required=5.0 tests=BAYES_50,INVALID_MSGID, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fac41,953e1a6689d791f6 X-Google-Attributes: gidfac41,public X-Google-Thread: f79bb,953e1a6689d791f6 X-Google-Attributes: gidf79bb,public X-Google-Thread: fdb77,953e1a6689d791f6 X-Google-Attributes: gidfdb77,public X-Google-Thread: 103376,953e1a6689d791f6 X-Google-Attributes: gid103376,public From: mbk@caffeine.engr.utk.edu (Matt Kennel) Subject: Re: Eiffel and Java Date: 1996/11/12 Message-ID: <56agd3$adv@gaia.ns.utk.edu>#1/1 X-Deja-AN: 196042261 references: <550sm2$sn1@buggy.news.easynet.net> <55562c$nkd@mulga.cs.mu.OZ.AU> <328592FC.64F26D66@sede.unijui.tche.br> <328831DB.47C86C44@horz.technopark.gmd.de> followup-to: comp.lang.eiffel,comp.lang.ada,comp.lang.sather,comp.lang.java.advocacy organization: University of Tennessee, Knoxville and Oak Ridge National Laboratory reply-to: %%spam repellent: remove this prefix%%kennel@msr.epm.ornl.gov newsgroups: comp.lang.eiffel,comp.lang.ada,comp.lang.sather,comp.lang.java.advocacy Date: 1996-11-12T00:00:00+00:00 List-Id: Alexander Asteroth (aster@horz.technopark.gmd.de) wrote: : Marcos F. F. de Macedo wrote: : : > Fergus Henderson wrote: : > > base class. In Sather, one can simply create a new interface and : > > declare these classes to be instances of this interface, without : > > modifying the existing code. : : > This kind of interface/implementation in Sather is diferent of the usual : > concept. This is subtype/subclass independence. That is a good thing in : > Sather that I have not yet thinked of the exact consequences. : > : > Interfaces in Java have nothing to do with this concepts. Interface in : > Java is an implementation restriction (not a conceptual one) to avoid : > multiple-inheritance and work yet work with static typing. Interface is : > java is just a deferred class with just deferred routines. Nothing more, : > nothing less. : I don't see your point. What is missing in Java's interfaces. Genericity, of course, and post-hoc supertyping. : If it's that you don't have to touch existing code (as F.H. wrote) : that has to do with supertyping, not with the abstract classes concept : of Sather (Or am I completetly wrong here?). ".... This, I tell you brother/ you can't have one without the other, " : Alexander Asteroth -- Matthew B. Kennel/mbk@caffeine.engr.utk.edu/I do not speak for ORNL, DOE or UT Oak Ridge National Laboratory/University of Tennessee, Knoxville, TN USA/ I would not, could not SAVE ON PHONE, |================================== I would not, could not BUY YOUR LOAN, |The US Government does not like I would not, could not MAKE MONEY FAST, |spam either. It is ILLEGAL! I would not, could not SEND NO CA$H, |USC Title 47, section 227 I would not, could not SEE YOUR SITE, |p (b)(1)(C) www.law.cornell.edu/ I would not, could not EAT VEG-I-MITE, | /uscode/47/227.html I do *not* *like* GREEN CARDS AND SPAM! |================================== M A D - I - A M!