comp.lang.ada
 help / color / mirror / Atom feed
From: Jeffrey Carter <jeffrey.carter@boeing.com>
Subject: Re: Basic Properties of Lists
Date: Fri, 7 Dec 2001 22:47:30 GMT
Date: 2001-12-07T22:47:30+00:00	[thread overview]
Message-ID: <3C114702.98662A90@boeing.com> (raw)
In-Reply-To: 8%8Q7.53294$xS6.88020@www.newsranger.com

Ted Dennison wrote:
> 
> In article <3C110606.A37E9D10@boeing.com>, Jeffrey Carter says...
> 
> >Every data structures text I've seen describes the abstract concept of a
> >list as an ordered sequence of values with one value considered the
> >first value, another the next value, and so on to the last value. I
> 
> I'd agree with the first part, but not with the second, at least not for a
> general bidirectional list like we have.
> 
> I know some texts say "linked-list" when they mean "singly-linked-list". Also,
> some authors may not be as careful about using confusing terminology like
> "first" and "last" for ends like we are being. Also, sometimes people come into
> reading with a preconcieved idea about things, and end up not comming away with
> the precise concept that the author intended. And sometimes authors are just
> plain wrong (it happens).

This is not something that depends on an implementation; it is a
property of the abstraction.

> 
> Anyway, I'm not sure where you got this impression. But I can assure you that I
> have been "classicly trained" in Computer Science (BS and MS), have had to read
> many such texts for no less than 5 different courses that covered this kind of
> material, and did not come away with that impression.

Well, I just found a coworker's _Software Components with Ada_, and
Booch also has this as a property of the abstract concept of a list. I'm
not talking about his implementation, but his description of the
abstraction.

> 
> >nor have I found any online. [However, see pp 70 and 72 of file
> >08Pointers.ppt available at
> >
> >http://cs.calvin.edu/books/c++/ds/1e/NewPPSlides2/
> 
> I did take a look at that. He does indeed use the unfortunate labels "First" and
> "Last", which seem to be causing you so much trouble.

It appears from p 72 that the STL also uses this terminology.

They're not causing me any trouble. I thought they were causing you
trouble.

If we can't agree on the basic properties of lists we'll never get
anywhere. Perhaps we need an appeal to authority here. Who do you trust?
Feldman wrote a text on data structures in Ada, and is known to
sometimes comment on things here or in the Team-Ada list. Can we agree
to appeal to him and abide by his expert opinion?

-- 
Jeffrey Carter



  reply	other threads:[~2001-12-07 22:47 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-12-05  6:08 List Strawman JC01 Jeffrey Carter
2001-12-05 19:14 ` Ted Dennison
2001-12-06  0:14   ` Jeffrey Carter
2001-12-06  3:15     ` Jeffrey Carter
2001-12-06 16:11     ` Ted Dennison
2001-12-06 17:48       ` Jeffrey Carter
2001-12-07 15:06         ` Ted Dennison
2001-12-07 17:43           ` Stephen Leake
2001-12-07 18:59             ` Ted Dennison
2001-12-09 14:04               ` Mark Lundquist
2001-12-10 15:25                 ` Ted Dennison
2001-12-10 15:46               ` Marin David Condic
2001-12-10 17:12                 ` Ted Dennison
2001-12-07 18:10           ` Jeffrey Carter
2001-12-07 19:45             ` Ted Dennison
2001-12-07 22:47               ` Jeffrey Carter [this message]
2001-12-09 14:04                 ` Basic Properties of Lists Mark Lundquist
2001-12-09 18:16                   ` Chad R. Meiners
2001-12-09 21:21                   ` Jeffrey Carter
2001-12-10 15:37                   ` Ted Dennison
2001-12-10 22:13                     ` Jeffrey Carter
2001-12-11 14:33                       ` Ted Dennison
2001-12-09 14:04           ` List Strawman JC01 Mark Lundquist
2001-12-10 17:02             ` Ted Dennison
2001-12-10 17:13               ` Ted Dennison
2001-12-10 15:37           ` Marin David Condic
2001-12-10 16:10             ` Larry Hazel
2001-12-06 19:09       ` Stephen Leake
2001-12-06 22:45         ` Jeffrey Carter
2001-12-07 16:54           ` Ted Dennison
2001-12-07 17:18             ` Darren New
2001-12-07 17:44               ` Doubly-linked list ordering(s) (was: List Strawman JC01) Ted Dennison
2001-12-07 17:30         ` List Strawman JC01 Ted Dennison
2001-12-06 19:34     ` Mark Lundquist
2001-12-07 17:04       ` Ted Dennison
2001-12-07 22:27         ` Jeffrey Carter
2001-12-09 14:04         ` Mark Lundquist
2001-12-06 19:34   ` Mark Lundquist
2001-12-06 23:09 ` Nick Roberts
replies disabled

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