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,8eff44ec1bcf8433 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-10-16 06:31:06 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsfeed.netscape.com!logbridge.uoregon.edu!news.huji.ac.il!not-for-mail From: "Ehud Lamm" Newsgroups: comp.lang.ada Subject: Re: Container reqs Date: Tue, 16 Oct 2001 15:23:29 +0200 Organization: The Hebrew University of Jerusalem Message-ID: <9qhcj0$anv$1@news.huji.ac.il> References: <9qctpn$lil$1@news.huji.ac.il> <3BCC1BEE.99169F8B@free.fr> NNTP-Posting-Host: di2-43.dialin.huji.ac.il X-Trace: news.huji.ac.il 1003238817 11007 132.64.12.43 (16 Oct 2001 13:26:57 GMT) X-Complaints-To: abuse@news.huji.ac.il NNTP-Posting-Date: Tue, 16 Oct 2001 13:26:57 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2014.211 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 Xref: archiver1.google.com comp.lang.ada:14669 Date: 2001-10-16T15:23:29+02:00 List-Id: Jean-Marc Bourguet wrote in message news:3BCC1BEE.99169F8B@free.fr... > * the library should have an organisation which make it extensible; Ok. > > * for one ADT, it should be possible to choose between several > implementations (say an hash table or a red black tree for the > ADT dictionnary); Ok. Crucial. > > * if several ADT are using the same implementation (say a stack and a > queue provided over singly linked lists), it should be possible to > share the implementation package; Ok. > > * the container types should be limited (one can always provides > a clone function if needed). Right. > > * the contained types should not be limited (one can always provides > a standard wrapper for limited types) > I also like this design. But others seem to disagree (maps of maps of maps of ...), and I understand their pov. We should try to find the best solution/compromise on this important issue. Ehud