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,e5eb8ca5dcea2827 X-Google-Attributes: gid103376,public From: Matthew Heaney Subject: Re: Ada OO Mechanism Date: 1999/06/03 Message-ID: #1/1 X-Deja-AN: 485291434 References: <7i05aq$rgl$1@news.orbitworld.net> <7i17gj$1u1k@news2.newsguy.com> <7icgkg$k4q$1@nnrp1.deja.com> <3749E9EC.2842436A@aasaa.ofe.org> <7id2eo$fag@drn.newsguy.com> <3749FF7D.F17CE16A@aasaa.ofe.org> <374AC676.F7AE0772@lmco.com> <374F1DD3.64070C3E@mitre.org> NNTP-Posting-Date: Thu, 03 Jun 1999 08:26:29 PDT Newsgroups: comp.lang.ada Date: 1999-06-03T00:00:00+00:00 List-Id: Ehud Lamm writes: > However using 'tag or other methods of RTTI (as are avaible in C++) is > usually concidred un-OOP, and not totally without reason. The argument > is that if you do manual checks for tags, you must change the code > base when you inherit, as opposed to simply coding new and sperate > routines for the overridden and new features of the new type. Not necessarily. It may be the case the you're using 'Tag simply to make sure the tags are the same.