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: Martin Lorentzon Subject: Re: Inheritance versus Generics Date: 1997/04/28 Message-ID: #1/1 X-Deja-AN: 237897578 Sender: emwson@hera References: <33601924.774@flash.net> Organization: Ericsson Microwave Systems AB, Molndal, Sweden Newsgroups: comp.lang.ada Date: 1997-04-28T00:00:00+00:00 List-Id: Craig Smith writes: > Generics were a very power feature of Ada-83. With the OO features > introduced into Ada-95 (in particuliar, the tagged record and ability to > inherit), are Generics obsolute? I would guess since several features > were added to generics (like generic formal package parameters), the > answer is no. Does anyone have any thoughts on this? Mastering both features can prove very powerful. Parametrization can be used to reduce the length/complexity of the inheritance lattice of your system. I've found that parametrization is often used to end an inheritance lattice. /Martin Lorentzson