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,f66d11aeda114c52 X-Google-Attributes: gidfac41,public X-Google-Thread: 103376,f66d11aeda114c52 X-Google-Attributes: gid103376,public From: jsa@alexandria.organon.com (Jon S Anthony) Subject: Re: Design By Contract Date: 1997/09/02 Message-ID: #1/1 X-Deja-AN: 269617311 References: <340bb873.0@news.uni-ulm.de> Followup-To: comp.lang.ada,comp.lang.eiffel Distribution: world Organization: PSINet Newsgroups: comp.lang.ada,comp.lang.eiffel Date: 1997-09-02T00:00:00+00:00 List-Id: In article <340bb873.0@news.uni-ulm.de> rodemann@mathematik.uni-ulm.de (Joerg Rodemann) writes: > I wonder what this is all about? In Ada as well as in Eiffel you have to > decide if you grant a client read, read/write or none access to any member > variables of an object. Exactly. > Certainly the syntax of the following implementations differ --- and > in this case tend to need a few more characters in the Ada > version. Although there is a slight difference: in Ada you arrange > one or more 'class' definitions in a package whereas the feature > mechanism of Eiffel reminds me a little bit of the friend > declarations in C++. (Sorry if I got this wrong, I just had a short > glance at Eiffel yet.) > Yes, this pretty much sounds on target as well. > But at least I do not recognize any fundamental difference between the > explicit declaration of a function and the possibility to use a member > variable as if it was a function. Agreed here too. > this thread is all about start from a slight difference in writing. (You > use more words to say this, so mine is better. As in You've just hit the nail on the head, IOW, "much ado about nothing"... /Jon -- Jon Anthony OMI, Belmont, MA 02178, 617.484.3383 "Nightmares - Ha! The way my life's been going lately, Who'd notice?" -- Londo Mollari