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: tmoran@bix.com Subject: Re: friend classes in ada95 Date: 2000/04/18 Message-ID: <3B5L4.1317$B43.116109@news.pacbell.net>#1/1 X-Deja-AN: 612891059 References: <8dh37m$qef$2@wanadoo.fr> X-Complaints-To: abuse@pacbell.net X-Trace: news.pacbell.net 956097983 206.170.2.186 (Tue, 18 Apr 2000 15:46:23 PDT) Organization: SBC Internet Services NNTP-Posting-Date: Tue, 18 Apr 2000 15:46:23 PDT Newsgroups: comp.lang.ada Date: 2000-04-18T00:00:00+00:00 List-Id: > A tagged type is not a class. A tagged type is a programming construct When first trying to understand this stuff, I personally found thinking of a tag on a record etc to be much easier to understand than all the OO stuff about classes and objects. "class" and "object" are such vague terms they convey little information. Also they are used for a variety of *different* things (see mathematics, or MS's use of "class" in COM). OTOH, if one's intent is to certify membership in an exclusive club by the use of code words known only to the members, then "class" is as good as anything.