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: fac41,b87849933931bc93 X-Google-Attributes: gidfac41,public X-Google-Thread: 109fba,b87849933931bc93 X-Google-Attributes: gid109fba,public X-Google-Thread: 1108a1,b87849933931bc93 X-Google-Attributes: gid1108a1,public X-Google-Thread: 114809,b87849933931bc93 X-Google-Attributes: gid114809,public X-Google-Thread: 103376,b87849933931bc93 X-Google-Attributes: gid103376,public X-Google-Thread: f43e6,b87849933931bc93 X-Google-Attributes: gidf43e6,public From: Richard Riehle Subject: Re: OO, C++, and something much better! Date: 1997/01/12 Message-ID: #1/1 X-Deja-AN: 209426474 references: <32CCE4ED.6A21@online.no><5ajo99$khu@panix.com> <32ce7009.280817694@news.zip.com.au><32D0CA27.44C2@ghgcorp.com> content-type: TEXT/PLAIN; charset=US-ASCII organization: National University, San Diego mime-version: 1.0 newsgroups: comp.lang.c++,comp.lang.smalltalk,comp.lang.eiffel,comp.lang.ada,comp.object,comp.software-eng Date: 1997-01-12T00:00:00+00:00 List-Id: On 6 Jan 1997, Ole-Hjalmar Kristensen FOU.TD/DELAB wrote: > However, if I remember correctly, Alex Stepanov had earlier tried to > implement a library like the C++ STL in Ada, but was incapable of > doing it. This would indicate that the C++ template mechanism is more > flexible than the Ada generics. > Any comments? In an in-depth interview published in Dr. Dobbs (I do not recall the date) Stepanov was both complimentary of Ada and critical of it. His primary criticsim was the inability to create generic packages in which he could use generic formal package parameters. C++ and Eiffel both allow something analogous to this. This was perceived by many as a problem in Ada 83, and "fixed" in Ada 95. ISO Standard 8652:1995 Ada does include generic formal package parameters, though the model seems, to some, a little more awkward to use than the same mechanism in C++ or Eiffel. STL could be implemented in Ada 95 if anyone wanted to take the time to do it. Probably a better approach than STL, for Ada 95, would be that by Bertrand Meyer as published in his book, "Reusable Software" from Prentice-Hall. At a Tri-Ada conference in Los Angeles, Mr. Stepanov re-visited this Ada 83 criticism while on a panel discussion with Tucker Taft. At that time, Tucker made it clear to Mr. Stepanov that Ada 95 does include generic formal package parameters. Richard Riehle