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=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fdb77,953e1a6689d791f6 X-Google-Attributes: gidfdb77,public X-Google-Thread: 103376,953e1a6689d791f6 X-Google-Attributes: gid103376,public X-Google-Thread: fac41,953e1a6689d791f6 X-Google-Attributes: gidfac41,public X-Google-Thread: f79bb,953e1a6689d791f6 X-Google-Attributes: gidf79bb,public From: Alexander Asteroth Subject: Re: Eiffel and Java Date: 1996/11/12 Message-ID: <328831DB.47C86C44@horz.technopark.gmd.de>#1/1 X-Deja-AN: 196076329 references: <550sm2$sn1@buggy.news.easynet.net> <55562c$nkd@mulga.cs.mu.OZ.AU> <328592FC.64F26D66@sede.unijui.tche.br> content-type: text/plain; charset=us-ascii organization: GMD, Sankt Augustin, Germany mime-version: 1.0 newsgroups: comp.lang.eiffel,comp.lang.ada,comp.lang.sather,comp.lang.java.advocacy x-mailer: Mozilla 3.0 (X11; I; Linux 2.0.11 i586) Date: 1996-11-12T00:00:00+00:00 List-Id: 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. 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?). Can you give an example of what you mean and what you think is wrong about Java's interfaces? Alexander Asteroth