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=0.6 required=5.0 tests=BAYES_00,TO_NO_BRKTS_FROM_MSSP autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,88093378be1184d4 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-11-09 08:33:20 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!feed1.uncensored-news.com!propagator-la!news-in-la.newsfeeds.com!news-in.superfeed.net!newsranger.com!www.newsranger.com!not-for-mail Newsgroups: comp.lang.ada From: Ted Dennison References: <9s941p$11mrei$4@ID-25716.news.dfncis.de> <9s99tt$pdb$1@nh.pace.co.uk> <9s9s8p$11vt7l$1@ID-25716.news.dfncis.de> <9sc5l8$9b7$1@nh.pace.co.uk> <9scke8$12jb14$3@ID-25716.news.dfncis.de> <9sdnva$dpk$1@news.huji.ac.il> <9seup4$12h0ar$3@ID-25716.news.dfncis.de> Subject: Re: List Container Straw Man Message-ID: X-Abuse-Info: When contacting newsranger.com regarding abuse please X-Abuse-Info: forward the entire news article including headers or X-Abuse-Info: else we will not be able to process your request X-Complaints-To: abuse@newsranger.com NNTP-Posting-Date: Fri, 09 Nov 2001 11:32:32 EST Organization: http://www.newsranger.com Date: Fri, 09 Nov 2001 16:32:32 GMT Xref: archiver1.google.com comp.lang.ada:16136 Date: 2001-11-09T16:32:32+00:00 List-Id: In article <9seup4$12h0ar$3@ID-25716.news.dfncis.de>, Nick Roberts says... > >Not really. My approach (as Ted's) uses generic packages instantiated with >the element type. I use a hierarchy of tagged types to represent iterators >(of gradually increasing complexity) based on that element type: it is this >which ensures a common (iterator) interface. I don't really have any major problems with this approach in a component facility in general. The main issue I have with it for the effort we are talking about is that it requires those multiple generic instantiations. That was the complaint with Booch that started this whole effort. If people can live with those, then my vote is for Booch. Otherwise, I think we are forced to design things using only independant generic packages. My ideal component library, like yours, would be much more complex than the strawman. Heck, it may even be the same as yours. But we aren't shooting for ideal here. We are shooting for something *simple* that Ada newbies can figure out w/o much trouble, but which is still usable for most serious applications. If you can find a way to default things so that there's a way to use it w/ only one instantiation, I'd like to see it. (ps. I'm sorry for leaving the discussion for so long. I've been on jury duty all week). --- T.E.D. homepage - http://www.telepath.com/dennison/Ted/TED.html No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced.