comp.lang.ada
 help / color / mirror / Atom feed
From: Jeffrey Carter <jeffrey.carter@boeing.com>
Subject: Re: ASCL a doomed idea?
Date: Mon, 10 Dec 2001 22:37:26 GMT
Date: 2001-12-10T22:37:26+00:00	[thread overview]
Message-ID: <3C153926.102B17B1@boeing.com> (raw)
In-Reply-To: 9v37s0$cdmva$3@ID-25716.news.dfncis.de

Nick Roberts wrote:
> 
> "Jeffrey Carter" <jrcarter@acm.org> wrote in message
> news:3C13D980.748CCCDA@acm.org...
> 
> Or, rather, a string is a kind of list (do you really have a problem with
> that concept?), and what the heck is the problem with using the same
> nomenclature for both (as far as possible) to help avoid confusing the poor
> Ada programmer? This isn't an ivory tower academic exercise.

That's a different meaning of "list". You could use a list data
structure to implement a string, just as you can for a queue or stack.
And just like a queue or stack, the result has different nomenclature
than a list.

> > An iterator procedure is the only thing that is an iterator; anything
> > else called an iterator is misnamed.
> 
> According to which science? On which planet, Jeff? Are you serious?

By definition: An iterator is something that iterates. Executable code
can iterate. Types and objects cannot.

> Like a file Jeff, the architypal 'container'. You read from it, you write
> into it.

Then in list terminology, by "writing" you mean insertion. Insertion is
not advisable from an iterator.

-- 
Jeffrey Carter



  reply	other threads:[~2001-12-10 22:37 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 [this message]
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
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