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.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,fdc75443ea18fb32 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-11-27 12:25:33 PST Path: archiver1.google.com!news1.google.com!sn-xit-02!sn-post-02!sn-post-01!supernews.com!corp.supernews.com!not-for-mail From: "Matthew Heaney" Newsgroups: comp.lang.ada Subject: Re: Queue Date: Tue, 27 Nov 2001 15:29:27 -0500 Organization: Posted via Supernews, http://www.supernews.com Message-ID: References: <%QRM7.39743$xS6.65958@www.newsranger.com> <9u0qhb$pq5$1@nh.pace.co.uk> X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 X-Complaints-To: newsabuse@supernews.com Xref: archiver1.google.com comp.lang.ada:17060 Date: 2001-11-27T15:29:27-05:00 List-Id: "Marin David Condic" wrote in message news:9u0qhb$pq5$1@nh.pace.co.uk... > I'd still be willing to settle on the BC's with some enhancements and > extensions. Anybody else willing to go that route? No. The problem with the Booch Components is that they use inheritance, which is completely unnecessary unless you require dynamic polymorphic behavior. The C++ STL doesn't use inheritance. The use of iterators and algorithms abstracts away the details of specific containers, and thus treats all collections as a "sequence." This is a form of static polymorphism. If you do need a dynamically polymorphic container (a stack, say), then you can implement that yourself using an Adapter pattern. The standard library should provide only the most basic primitives, from which higher-level abstractions can be constructed.