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,73036d0217be91e2 X-Google-Attributes: gid103376,public From: bertrand@eiffel.com Subject: Re: Inheritance versus Generics Date: 1997/04/29 Message-ID: <862296320.11810@dejanews.com>#1/1 X-Deja-AN: 238068997 References: <33601924.774@flash.net> <3360CA7A.2272@elca-matrix.ch> X-Http-User-Agent: Mozilla/3.01Gold (X11; I; SunOS 4.1.3 sun4c) X-Originating-IP-Addr: 198.68.147.2 (outback.eiffel.com) Organization: Deja News Usenet Posting Service X-Article-Creation-Date: Tue Apr 29 06:45:20 1997 GMT X-Authenticated-Sender: bertrand@eiffel.com Newsgroups: comp.lang.ada Date: 1997-04-29T00:00:00+00:00 List-Id: Mats Weber as quoted by Matthew Heaney: > > >You can simulate generics with inheritance (the technique is described > >in Meyer's "Object Oriented Software Construction" Just a small clarification: the discussion (appendix B in the recent edition of my book, entitled "Genericity vs. Inheritance" and the n-th iteration of an article originally in the first OOPSLA conference in 1986) shows that inheritance can simulate some aspects of genericity, but not all, and that genericity by itself can only cover a small part of inheritance. On the basis of this analysis it concludes that one needs both mechanisms, and deduces the precise combination that appears adequate to cover all needs at minimal complexity. > P.S. He actually has a link to your dissertation in his book, Mats. Right... I must say I am impressed by the amount and quality of Ada 95-related material available on the Web. -------------------==== Posted via Deja News ====----------------------- http://www.dejanews.com/ Search, Read, Post to Usenet