comp.lang.ada
 help / color / mirror / Atom feed
From: "Marin David Condic" <dont.bother.mcondic.auntie.spam@[acm.org>
Subject: Re: List Container Straw Man
Date: Wed, 7 Nov 2001 15:30:30 -0500
Date: 2001-11-07T20:30:32+00:00	[thread overview]
Message-ID: <9sc5l8$9b7$1@nh.pace.co.uk> (raw)
In-Reply-To: u1yjacqea.fsf@gsfc.nasa.gov

I don't mind underlying complexity if there is any way to hide it. If the
design can be such that you have the complex versions around but through
instantiations or inheritance you can get a simpler version, then great.
(Not sure how you would do that...) The important thing in my mind is that
there are going to be a bunch of potential users who just need to slap
something simple together to hold a bunch of data and they're not going to
want every conceivable option available to them to do that.

I could imagine a design of a component library that would include some kind
of plain vanilla Lists and Maps that let you do the simple things and then
extend it with variants that allow more complex things to occur, such as
inheriting from iterators or controlling storage or whatever. Get something
that covers 80% of the average usage first, then worry about the more arcane
cases later. I don't think that a first cut at a standard component library
should attempt to be the software equivalent of a Swiss Army Knife, covering
every conceivable usage. Just your basic Boy Scout Knife with two or three
blades.

Can you imagine a way to take the classes that Nick suggests and use them as
the basis on which a simple list similar to what Ted suggests is built? That
means you have the underlying power if you want to peel away the layers and
use it, but for the simple cases you've got a nice, simple, instantiation
with nice simple subprogram calls? This might be a way to utilize the BC's.
If Ted, et alia, could be clever enough to hide the complexity under some
other layer, they might be able to overcome the objections and get what they
want. Hmmmmmm..........

MDC
--
Marin David Condic
Senior Software Engineer
Pace Micro Technology Americas    www.pacemicro.com
Enabling the digital revolution
e-Mail:    marin.condic@pacemicro.com
Web:      http://www.mcondic.com/


"Stephen Leake" <stephen.a.leake.1@gsfc.nasa.gov> wrote in message
news:u1yjacqea.fsf@gsfc.nasa.gov...
>
> In a truly complete library, I think both options should be available;
> abstract containers and concrete, simple lists. Perhaps the "Dennison
> List" package could be used to implement the doubly-linked list
> variant of the abstract container package; would that work for you?
>






  reply	other threads:[~2001-11-07 20:30 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-11-06 16:45 List Container Straw Man Nick Roberts
2001-11-06 17:29 ` Stephen Leake
2001-11-06 18:25   ` Marin David Condic
2001-11-06 23:02     ` Nick Roberts
2001-11-07 19:49       ` Stephen Leake
2001-11-07 20:30         ` Marin David Condic [this message]
2001-11-07 23:58           ` Nick Roberts
2001-11-08  4:34             ` Jeffrey Carter
2001-11-08 10:45             ` Ehud Lamm
2001-11-08 19:09               ` Nick Roberts
2001-11-09 16:32                 ` Ted Dennison
2001-11-10  2:20                   ` Nick Roberts
2001-11-10 19:50                     ` Ehud Lamm
2001-11-11  3:48                       ` Nick Roberts
2001-11-08 10:41           ` Ehud Lamm
2001-11-08 19:20             ` Marin David Condic
2001-11-08 20:35               ` Ehud Lamm
2001-11-09 16:39             ` Ted Dennison
2001-11-08  0:06         ` Nick Roberts
2001-11-09 16:16           ` Stephen Leake
2001-11-09 16:24             ` Ehud Lamm
2001-11-09 16:52               ` Brian Rogoff
2001-11-09 18:04             ` Darren New
2001-11-09 20:05               ` Stephen Leake
2001-11-10  3:24             ` Nick Roberts
2001-11-06 23:52   ` Nick Roberts
2001-11-07  4:44     ` A question and a request Eric Merritt
2001-11-07 11:00       ` Preben Randhol
2001-11-07 12:54         ` David C. Hoos, Sr.
2001-11-08  2:35           ` dale
2001-11-07 13:24         ` Eric Merritt
2001-11-07 13:58       ` James Rogers
2001-11-07 16:32       ` Jeffrey Carter
2001-11-09 23:32       ` Matthew Heaney
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox