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: 103376,8b8748382fcfacc1 X-Google-Attributes: gid103376,public From: "Jeff Susanj" Subject: Re: friend classes in ada95 Date: 2000/04/19 Message-ID: #1/1 X-Deja-AN: 613179957 Sender: nntp@news.boeing.com (Boeing NNTP News Access) X-Nntp-Posting-Host: p2005079.stl.mo.boeing.com References: <8dh37m$qef$2@wanadoo.fr> <3B5L4.1317$B43.116109@news.pacbell.net> <38FD1830.949F5E81@mindspring.com> <38FD1C9E.7C2B7756@research.canon.com.au> Organization: The Boeing Company Newsgroups: comp.lang.ada X-Mimeole: Produced By Microsoft MimeOLE V4.72.3110.3 Date: 2000-04-19T00:00:00+00:00 List-Id: In OO a class is data and the operations associated with that data. Therefore, Ada doesn't explicitly have classes because the data and the operations are not explicitly bound together. If we consider a class to be the tagged record and all of those operations that have access to the tagged record then viola, there is a class. Jeff S. Geoff Bull wrote in message <38FD1C9E.7C2B7756@research.canon.com.au>... >"John J. Rusnak" wrote: >> >> I'd have to weigh in on the opposite side. "Class" and "object" are rather >> easy terms to grasp. And I can tell you through exeperience that the Ada >> model has been difficult for many I have seen coming into the language to >> grasp. (Some with OO backgrounds and some without). But to each their own >> I suppose. >> >For people coming from other languages, changing the word tagged to class >is going to help not zero. >The problem they face is overcoming the assumptions they have made >about how oo is implemented.