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: 103376,3d3f20d31be1c33a X-Google-Attributes: gid103376,public X-Google-Thread: f43e6,2c6139ce13be9980 X-Google-Attributes: gidf43e6,public X-Google-Thread: 1108a1,2c6139ce13be9980 X-Google-Attributes: gid1108a1,public From: doylep@ecf.toronto.edu (Patrick Doyle) Subject: Re: Separation of IF and Imp: process issue? Date: 1997/09/09 Message-ID: #1/1 X-Deja-AN: 270862757 Sender: news@ecf.toronto.edu (News Administrator) References: <33E9ADE9.4709@flash.net> <5utag9$o6s@newshub.atmnet.net> <341431A5.8E2@pseserv3.fw.hac.com> X-Nntp-Posting-Host: skule.ecf Organization: University of Toronto, Engineering Computing Facility Newsgroups: comp.object,comp.software-eng,comp.lang.ada,comp.lang.eiffel Date: 1997-09-09T00:00:00+00:00 List-Id: In article <341431A5.8E2@pseserv3.fw.hac.com>, W. Wesley Groleau x4923 wrote: > >> And if you argue that Eiffel should be as easy as Ada in Ada's strong >> points, while ignoring Eiffel's strong points, you wind up with odd >> misunderstandings. > >That's not what happened. Ada folks claimed that separation of >spec and body was an advantage. Eiffel folks responded, "No, it's >not, because we can simulate it this way." I think my response was more like "Yes, it is, and here's how we can do it in Eiffel". The Eiffel way of doing it takes not one more line of code and not one more file. It's very, very similar to the Ada method, except that the implementation needs a different name from the interface. Oh, and the Eiffel way is arguably more flexible because it has all the capabilities of regular old abstract classes (such as renaming, feature body freezing, etc.). I don't see it as a kludge at all. -PD -- -- Patrick Doyle doylep@ecf.utoronto.ca