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-19 07:39:20 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!canoe.uoregon.edu!hammer.uoregon.edu!skates!not-for-mail From: Stephen Leake Newsgroups: comp.lang.ada Subject: Re: Container reqs Date: 19 Oct 2001 10:36:56 -0500 Organization: NASA Goddard Space Flight Center Message-ID: References: <9qctpn$lil$1@news.huji.ac.il> <3nCy7.29644$ev2.35903@www.newsranger.com> <9qfgla$7sb$3@news.huji.ac.il> <9qnflg$pm$1@news.huji.ac.il> <3BCF57C8.DE99D9C@boeing.com> NNTP-Posting-Host: anarres.gsfc.nasa.gov Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: skates.gsfc.nasa.gov 1003502338 23678 128.183.220.71 (19 Oct 2001 14:38:58 GMT) X-Complaints-To: dscoggin@cne-odin.gsfc.nasa.gov NNTP-Posting-Date: 19 Oct 2001 14:38:58 GMT User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 Xref: archiver1.google.com comp.lang.ada:14938 Date: 2001-10-19T14:38:58+00:00 List-Id: Jeffrey Carter writes: > Ehud Lamm wrote: > > > > What I dodn't like is the need for several, possibly nested, instantiations > > simply to get a simple queue or hash table. > > I wholeheartedly agree. Wright's posting here a few days ago of the > sequence of instantiations needed to obtain a simple structure with the > Booch components clearly indicates that they fail this requirement. This is easy to say. But can you provide an alternative, that still allows the container to handle all reasonable Ada types? People have made the same complaint about my library. But that complexity is simply a reflection of the complexity that Ada supports. I don't see a simple alternative that is not so restrictive as to be useless. Well, you could maintain several copies of the code, each accepting slightly different generic formal types. But _I'm_ not going to do that! Life isn't simple, as well as not being fair! -- -- Stephe