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: 1108a1,2c6139ce13be9980 X-Google-Attributes: gid1108a1,public X-Google-Thread: 103376,3d3f20d31be1c33a X-Google-Attributes: gid103376,public X-Google-Thread: f43e6,2c6139ce13be9980 X-Google-Attributes: gidf43e6,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/09 Message-ID: #1/1 X-Deja-AN: 271146185 References: <340F20A0.49B5@ac3i.dseg.ti.com> <340F39E3.4B71@pseserv3.fw.hac.com> Organization: University of California at San Diego Reply-To: kennel@NOSPAMlyapunov.ucsd.edu Newsgroups: comp.object,comp.software-eng,comp.lang.ada,comp.lang.eiffel Date: 1997-09-09T00:00:00+00:00 List-Id: On Thu, 4 Sep 1997 22:44:51 GMT, W. Wesley Groleau: : :> In Ada, every single package must have a separate spec, so Ada :> programmers are used to applying this pattern everywhere. But I'd :> wager that very few Eiffel programmers would consider introducing an :> abstract parent class for every one of their concrete classes, just to :> simulate Ada packaging. .... : :Hear, hear! Why would an Eiffel programmer want to simulate Ada, when :he/she could actually use Ada? (And vice versa, lest anyone think :I'm making another language-bigot comment...) I agree. If few Eiffel programmers consider introducing an abstract parent class for every one of their concrete classes, perhaps this is an indication that such a thing is not generally needed or wanted --- merely for the purpose of forcing a separate spec from every implementation? Ada might have other needs or uses for it. I suspect that Eiffel programmers have little reluctance introducing abstract classes when they make sense as specification. -- * 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. *