comp.lang.ada
 help / color / mirror / Atom feed
From: Ted Dennison<dennison@telepath.com>
Subject: Re: ASCL a doomed idea?
Date: Tue, 11 Dec 2001 15:06:19 GMT
Date: 2001-12-11T15:06:19+00:00	[thread overview]
Message-ID: <LhpR7.57428$xS6.92806@www.newsranger.com> (raw)
In-Reply-To: MZoR7.30524$wL4.108797@rwcrnsc51

In article <MZoR7.30524$wL4.108797@rwcrnsc51>, Mark Lundquist says...
>And I can't say much for your choice of name for the itera... I mean, the
>uh... the dookus.  "Position" is what you call it, right?  Well, the term
>"position" connotes like an index or something -- you know, "first",

It was called "Position" in the Strawman back when I wasn't presenting a safe
iterator, with an interal pointer back to its list. In that mode it really did
act like an array index, except that you didn't have random access. Now that the
Strawman is presenting a safe iterator object, the name "Iterator" seemed more
appropriate. That's why it is that way in 1.3.

Anyway, JC01 presents an unsafe style iterator. His comments say it could go
either way, but if its safe, there's no sense in supplying the list with it like
all JC01's routines do, so I think his presentation only makes sense for an
unsafe iterator. For an unsafe iterator, I think "Position" is reasonable, as it
at least underlines that you can't expect the compiler to do all your checking
for you like you would with a true iterator.

Which one we use is something that still needs to be decided. Perhaps there
hasn't been much discussion about this because everyone is happy with the way
the latest Strawman does it (safe)?

---
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.



  reply	other threads:[~2001-12-11 15:06 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-12-06 20:26 ASCL a doomed idea? Michael Erdmann
2001-12-06 20:49 ` Mark Lundquist
2001-12-09 19:07   ` Nick Roberts
2001-12-09 21:37     ` Jeffrey Carter
2001-12-10 19:36       ` Nick Roberts
2001-12-10 22:37         ` Jeffrey Carter
2001-12-10 23:30           ` Chad R. Meiners
2001-12-11  1:42             ` Jeffrey Carter
2001-12-11  3:40               ` Chad R. Meiners
2001-12-11 14:45           ` Mark Lundquist
2001-12-11 15:06             ` Ted Dennison [this message]
2001-12-11 15:09               ` Jean-Marc Bourguet
2001-12-11 17:18               ` Stephen Leake
2001-12-12  4:29               ` Jeffrey Carter
2001-12-12 14:40                 ` Ted Dennison
2001-12-11 15:25             ` Larry Hazel
2001-12-12  4:21             ` Jeffrey Carter
2001-12-12 14:32               ` Stephen Leake
2001-12-12 19:40               ` Mark Lundquist
2001-12-16 13:23               ` Georg Bauhaus
2001-12-11 14:45         ` Mark Lundquist
2001-12-11 15:11           ` Ted Dennison
2001-12-11 17:43             ` Nick Roberts
2001-12-12  0:37               ` Mark Lundquist
2001-12-12  4:31           ` Jeffrey Carter
2001-12-11 22:45         ` Mark Lundquist
2001-12-12  1:39           ` Nick Roberts
2001-12-12 10:08             ` Ian Wild
2001-12-12 17:03               ` Nick Roberts
2001-12-12 22:09                 ` Brian Rogoff
2001-12-12 14:34             ` Marin David Condic
2001-12-11 14:45       ` Mark Lundquist
2001-12-12  4:32         ` Jeffrey Carter
2001-12-12 14:48           ` Ted Dennison
2001-12-12 17:02           ` 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