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: Charles Hixson Subject: Re: friend classes in ada95 Date: 2000/04/20 Message-ID: <38FF3914.839040E2@earthlink.net>#1/1 X-Deja-AN: 613652121 Content-Transfer-Encoding: 7bit References: <8dh37m$qef$2@wanadoo.fr> <3B5L4.1317$B43.116109@news.pacbell.net> <38FD1830.949F5E81@mindspring.com> <38FD1C9E.7C2B7756@research.canon.com.au> <8dldqi$mb7$1@nnrp1.deja.com> <38FE365D.31C893A6@acm.org> <8dmjsq$vm9$1@nnrp1.deja.com> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@earthlink.net X-Trace: newsread1.prod.itd.earthlink.net 956250390 198.94.156.19 (Thu, 20 Apr 2000 10:06:30 PDT) Organization: EarthLink Inc. -- http://www.EarthLink.net MIME-Version: 1.0 NNTP-Posting-Date: Thu, 20 Apr 2000 10:06:30 PDT Newsgroups: comp.lang.ada Date: 2000-04-20T00:00:00+00:00 List-Id: My original definition of an Object (I was coming to C++ from C after being exposed to Apple's Object Pascal) was: An object is a data structure combined with the methods defined to access it. It is made useful by inheritance. I still think that this is the "basic" definition in most languages, however Ada and Lisp parse the world very differently. In their view, the methods are NOT a part of the object. So we are left with Tagged ADT's which are made useful through inheritance. Personally, I think that it makes a reasonable amount of sense to chunk the methods with the object, but I'm not vehement on the point, and I'm still very new to Ada, so perhaps my opinion will change. However, in Ada an object appears to be a tagged abstract data type. This is a language dependent definition, but ANY workable definition of a computer language object WILL BE language dependent. (Or so it seems to me.)