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: dewar@merv.cs.nyu.edu (Robert Dewar) Subject: Re: Inheritance versus Generics Date: 1997/04/25 Message-ID: #1/1 X-Deja-AN: 237289396 References: <33601924.774@flash.net> Organization: New York University Newsgroups: comp.lang.ada Date: 1997-04-25T00:00:00+00:00 List-Id: Craig Smith asks <> One group that has thoughts on this is the C++ design committee. Originally the attempt was to develop OO stuff, and decide that genericity was not needed, but eventually it was clear that this was over-restrictive, and so genericity (templates) was added. Note that the Ada 83 design is an interesting dual. The Ada 83 design committee was well aware of the object oriented approach (many of them had been using Simula-67 for over a decade -- it is well to remember that the basic OO idea are ancient). Their experience said that writing large scale programs using the OO approach was ineffective, and they very conciously decided against incorporating such features into Ada 83, deciding that the same basic functionality could be achieved in a language that concentrated on providing powerful genericty. Now at least in some sense, Ada 95, shows the same phenomenon as C++, in deciding that both are necessary. However, the situation in the Ada 95 case is a little more clouded, since the basic motivation for adding OO stuff was not purely technial, but the decision was largely driven by "following the trend" fadism. Only time will tell the full story here ... A lot of people find genericity to be much more significant than OO stuff (a good example of this is the designers of the standard template library in C++, which uses genericity extnsively, but inheritance barely at all.