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=0.2 required=5.0 tests=BAYES_00,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,2c6139ce13be9980 X-Google-Attributes: gidfac41,public X-Google-Thread: f43e6,2c6139ce13be9980 X-Google-Attributes: gidf43e6,public X-Google-Thread: 103376,3d3f20d31be1c33a X-Google-Attributes: gid103376,public X-Google-Thread: 1108a1,2c6139ce13be9980 X-Google-Attributes: gid1108a1,public From: kennel@nospam.lyapunov.ucsd.edu (Matt Kennel (Remove 'NOSPAM' to reply)) Subject: Re: Interface/Implementation (was Re: Design by Contract) Date: 1997/09/10 Message-ID: #1/1 X-Deja-AN: 271428638 References: <340F20A0.49B5@ac3i.dseg.ti.com> <340F39E3.4B71@pseserv3.fw.hac.com> Reply-To: kennel@NOSPAMlyapunov.ucsd.edu Organization: University of California at San Diego Newsgroups: comp.object,comp.software-eng,comp.lang.ada,comp.lang.eiffel Date: 1997-09-10T00:00:00+00:00 List-Id: On 10 Sep 1997 16:57:20 GMT, John Viega wrote: : :In article kennel@nospam.lyapunov.ucsd.edu (Matt Kennel (Remove 'NOSPAM' to reply)) writes: : :> :> I suspect that Eiffel programmers have little reluctance introducing :> abstract classes when they make sense as specification. : :Don't consider what I have to say hard evidence, but from what I have :seen in C++ programmers, they are less likely to seperate interface :from implementation by useing purely abstract classes than say a Java :programmer, because it just never occurs to most of them to do so. :Many such people consider themselves to be excellent OO designers, :too. I have seen such people write in Java, appreciate the explicit :interface construct, use it extensively, and then go back to their :same old habits when they return to C++. I can see this, and I think the Eiffel practice and cleanliness is closest to the Java side than the C++ side. :From what I've seen, even Java programmers rarely have an interface :that maps to every concrete class they write. That may be the case. Some people might consider this foolish laziness, but I'm not so convinced. It may in fact be a recognition that not every concrete class deserves a separate interface. -- * Matthew B. Kennel/Institute for Nonlinear Science, UCSD * * According to California Assembly Bill 3320, it is now a criminal offense * to solicit any goods or services by email to a CA resident without * providing the business's legal name and complete street address. *