From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=0.6 required=5.0 tests=BAYES_00,LOTS_OF_MONEY, TO_NO_BRKTS_FROM_MSSP autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,a3bf872bb81a1f2b X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-12-11 07:06:38 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!nntp-relay.ihug.net!ihug.co.nz!out.nntp.be!propagator-SanJose!in.nntp.be!newsranger.com!www.newsranger.com!not-for-mail Newsgroups: comp.lang.ada From: Ted Dennison References: <7RQP7.4406$Yy.272014@rwcrnsc53> <9v0crv$bo2bi$2@ID-25716.news.dfncis.de> <3C13D980.748CCCDA@acm.org> <9v37s0$cdmva$3@ID-25716.news.dfncis.de> <3C153926.102B17B1@boeing.com> Subject: Re: ASCL a doomed idea? Message-ID: X-Abuse-Info: When contacting newsranger.com regarding abuse please X-Abuse-Info: forward the entire news article including headers or X-Abuse-Info: else we will not be able to process your request X-Complaints-To: abuse@newsranger.com NNTP-Posting-Date: Tue, 11 Dec 2001 10:06:19 EST Organization: http://www.newsranger.com Date: Tue, 11 Dec 2001 15:06:19 GMT Xref: archiver1.google.com comp.lang.ada:17754 Date: 2001-12-11T15:06:19+00:00 List-Id: In article , 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.