From: "Chad R. Meiners" <crmeiners@hotmail.com>
Subject: Re: Basic Properties of Lists
Date: Sun, 9 Dec 2001 13:16:48 -0500
Date: 2001-12-09T13:16:48-05:00 [thread overview]
Message-ID: <9v0962$63f$1@msunews.cl.msu.edu> (raw)
In-Reply-To: dcKQ7.23845$Yy.297532@rwcrnsc53
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 2405 bytes --]
Why not create two different Iterator types: Standard_Iterator and
Reversed_Iterator (Or Cat_Iterator and Dog_Iterator)?
Each would have its own First, Last, Next, and Previous subroutines.
Perhaps a Flip function would be useful too.
-CRM
"Mark Lundquist" <mlundquist2@attbi.com> wrote in message
news:dcKQ7.23845$Yy.297532@rwcrnsc53...
>
> "Jeffrey Carter" <jeffrey.carter@boeing.com> wrote in message
> news:3C114702.98662A90@boeing.com...
> >
> > If we can't agree on the basic properties of lists we'll never get
> > anywhere. Perhaps we need an appeal to authority here.
>
> Look, you guys both know what a doubly-linked list is; you don't need some
> double-dome to weigh in with a ruling on it!
>
> You are having an argument about nomenclature, not about the basic
> properties of anything. You just think you are because you have befuddled
> each other with bad arguments.
>
> Jeffrey -- of course "sequence" (extrinsic ordering) is a fundamental
> property of any kind of a linked list. I don't think anyone is confusing
> the data structure in question with a set, bag, heap, or any other kind of
> intrinsically ordered thing. Your point is irrelevant to the nomenclature
> question. Ted doesn't deny that a list has direction, he's saying that a
> doubly-linked list has two directions, and for some reason he feels
strongly
> about any kind of preferential scheme that would seem to establish one end
> or direction as secondary or relative (like "Normal" vs. "Bass_Ackwards"
> :-).
>
> But Ted, what's the big whoopie deal about this, anyway? Who cares if the
> names have a "directional bias", as long as the semantics are clear? The
> important thing is the relationship between the names you choose for the
> extremities and the names you choose for "direction", right? So if the
> extremities are "Bow" and "Stern", then the directions had better be
> "Forward" and "Aft". That's why "Head/Tail" is kinda bad -- with a na�ve
> choice for the direction names, like "Forward/Reverse", even the
originator
> of the naming scheme probably wouldn't be able to keep them straight :-).
> But you have to start somewhere, and everybody knows it's arbitrary which
> ends you call "First" and "Last". I don't buy the argument that a
> preferential naming scheme entails a loss of flexibility or that it
obscures
> the property of bidirectionality.
>
> Cheers,
> -- mark
>
>
>
>
next prev parent reply other threads:[~2001-12-09 18:16 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 ` Basic Properties of Lists Jeffrey Carter
2001-12-09 14:04 ` Mark Lundquist
2001-12-09 18:16 ` Chad R. Meiners [this message]
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