From: Jeffrey Carter <jeffrey.carter@boeing.com>
Subject: Re: Standard Queue status
Date: Thu, 29 Nov 2001 15:58:13 GMT
Date: 2001-11-29T15:58:13+00:00 [thread overview]
Message-ID: <3C065B15.5CA7D10B@boeing.com> (raw)
In-Reply-To: 3C05E289.C254DA29@mida.se
Mats Karlssohn wrote:
>
> Ted Dennison wrote:
> %<
> > Personally, I like his use of the "Direction" type to specify which end to start
> > from in his operations. I also like the ability to convert between lists and
> > unbounded arrays. I think those may merit putting in the final version. There
> > are also a number of operations in there that the strawman doesn't have which
> > some folks may find useful.
>
> Yes, the use of "Direction" is elegant, and converting to and from
> unbounded arrays seems useful.
I don't know. Specifying the direction seems like control coupling.
I don't recall an "unbounded array" in his spec. I recall unconstrained
arrays, but that's a different animal. Converting to and from
unconstrained arrays is trivial to implement with the standard features
of a list, so I'm not sure it should be in the basic package; on the
other hand, I'm not sure it shouldn't be there if it's going to be
defined at all.
> After all one of my general rules is:
> "Don't bring in more than you need"
> That is, as much as I like nifty features, I want to be able to
> pinpoint exactly what facets of an object/alorithm-collection that I
> want to bring in for use when solving a problem. Even if
> instansiations becomes numerous or _somewhat_ more complicated.
There needs to be a balance. After all, the minimum features one needs
to build and use an unbounded list are provided by Ada, but I hope no
one thinks this is an argument for not having a list ADT. On the other
hand, the operations one can think of doing with lists are limited
mainly by one's imagination. So the general rule should be something
like: include the basic operations, operations that cannot be
efficiently implemented without directly manipulating the
implementation, and extremely common operations; exclude everything
else.
The problem is agreeing on "extremely common operations".
--
Jeffrey Carter
next prev parent reply other threads:[~2001-11-29 15:58 UTC|newest]
Thread overview: 62+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-11-27 1:19 Queue steve
2001-11-27 2:07 ` Queue Larry Kilgallen
2001-11-27 19:30 ` Queue Ted Dennison
2001-11-27 19:45 ` Queue Marin David Condic
2001-11-27 20:29 ` Queue Matthew Heaney
2001-11-27 20:55 ` Queue Marin David Condic
2001-11-27 21:20 ` Queue Ehud Lamm
2001-11-27 22:13 ` Queue Marin David Condic
2001-11-27 22:35 ` Queue Ehud Lamm
2001-11-28 14:53 ` Queue Marin David Condic
2001-11-28 16:40 ` Standard Library, Again (was: Re: Queue) Jeffrey Carter
2001-11-28 18:37 ` Standard Queue status Ted Dennison
2001-11-28 21:02 ` Marin David Condic
2001-11-28 21:40 ` Ehud Lamm
2001-11-29 14:42 ` Ted Dennison
2001-11-29 15:23 ` Marin David Condic
2001-11-29 17:58 ` Ted Dennison
2001-11-29 7:23 ` Mats Karlssohn
2001-11-29 14:55 ` Ted Dennison
2001-11-29 15:58 ` Jeffrey Carter [this message]
2001-11-29 16:27 ` Marin David Condic
2001-11-29 18:10 ` Ted Dennison
2001-11-30 2:00 ` Jeffrey Carter
2001-11-30 15:07 ` Ted Dennison
2001-11-30 20:19 ` Mark Lundquist
2001-11-29 13:47 ` Stephen Leake
2001-11-29 15:53 ` Marin David Condic
2001-11-29 18:10 ` Stephen Leake
2001-11-29 18:58 ` Marin David Condic
2001-11-29 18:21 ` Ted Dennison
2001-11-29 19:12 ` Marin David Condic
2001-11-29 20:25 ` Ted Dennison
2001-11-29 22:49 ` Marin David Condic
2001-11-30 15:15 ` Ted Dennison
2001-11-30 15:32 ` Marin David Condic
2001-11-30 19:49 ` tmoran
2001-11-29 18:29 ` Stephen Leake
2001-11-29 19:27 ` Marin David Condic
2001-11-29 20:35 ` Ted Dennison
2001-11-29 22:54 ` Marin David Condic
2001-11-30 1:51 ` Jeffrey Carter
2001-11-29 18:37 ` Ted Dennison
2001-12-04 19:48 ` Stephen Leake
2001-12-04 20:27 ` Ted Dennison
2001-11-29 22:29 ` Jeffrey Carter
2001-11-30 2:19 ` Nick Roberts
2001-12-04 19:51 ` Stephen Leake
2001-11-30 15:19 ` Ted Dennison
2001-11-30 12:40 ` Simon Wright
2001-11-27 21:38 ` Queue Brian Rogoff
2001-11-28 8:07 ` Queue Mats Karlssohn
2001-11-30 4:49 ` Queue Brian Rogoff
2001-11-30 15:30 ` Queue Ted Dennison
2001-11-30 21:02 ` Queue Ehud Lamm
2001-11-30 21:07 ` Queue Ehud Lamm
2001-11-28 8:28 ` Queue Thomas Wolf
2001-11-28 17:27 ` Queue Ted Dennison
2001-11-30 22:11 ` Queue Ehud Lamm
2001-11-28 8:01 ` Queue Mats Karlssohn
2001-11-28 7:48 ` Queue Mats Karlssohn
2001-11-28 15:39 ` Queue Marin David Condic
2001-11-29 7:35 ` Queue Mats Karlssohn
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox