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: fac41,2c6139ce13be9980 X-Google-Attributes: gidfac41,public X-Google-Thread: f43e6,2c6139ce13be9980 X-Google-Attributes: gidf43e6,public X-Google-Thread: 1108a1,2c6139ce13be9980 X-Google-Attributes: gid1108a1,public X-Google-Thread: 103376,3d3f20d31be1c33a X-Google-Attributes: gid103376,public From: billf@jovial.eng.sun.com (Bill Foote) Subject: Re: Interface/Implementation (was Re: Design by Contract) Date: 1997/10/13 Message-ID: <61rp0e$qvh@engnews3.Eng.Sun.COM>#1/1 X-Deja-AN: 279930400 References: <5v34m5$pl9$2@trumpet.uni-mannheim.de> <341D4AC2.8470493F@calfp.co.uk> Organization: JavaSoft Newsgroups: comp.object,comp.software-eng,comp.lang.ada,comp.lang.eiffel Date: 1997-10-13T00:00:00+00:00 List-Id: In article <341D4AC2.8470493F@calfp.co.uk>, Owen Fellows wrote: (On the subject of Eiffel's use of inheritance to get functions like sin, cos, etc.) > >So, my argument would be what do you gain my adding something like >'uses'? >Not much. > >What do you lose by not having it? >Not a lot. IMHO you lose clarity, self-documentation, and potential tool support. When I was using Eiffel, I found the nest of things that I saw in the inheritance tree while browsing confusing -- I would much rather have inheritance restricted to "isa" relationships, and something else for importing facilities (like constants and "global" methods). Inheritance for isa is semantically different from this kind of implementation inheritance; I think that explicitly recognizing this with a language construct is a Good Thing. But this is a minor point -- IMHO there's a *lot* more to like in Eiffel than there is to dislike! Regards, -- Bill Foote bill.foote@eng.sun.com HotJava Developer, JavaSoft http://java.sun.com/people/billf/