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=-1.9 required=5.0 tests=BAYES_00 autolearn=ham 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-09 13:37:18 PST Path: archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!newsfeed1.earthlink.net!newsfeed.earthlink.net!newsmaster1.prod.itd.earthlink.net!newsread2.prod.itd.earthlink.net.POSTED!not-for-mail Message-ID: <3C13D980.748CCCDA@acm.org> From: Jeffrey Carter X-Mailer: Mozilla 4.7 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: ASCL a doomed idea? References: <7RQP7.4406$Yy.272014@rwcrnsc53> <9v0crv$bo2bi$2@ID-25716.news.dfncis.de> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Sun, 09 Dec 2001 21:37:26 GMT NNTP-Posting-Host: 209.86.209.200 X-Complaints-To: abuse@earthlink.net X-Trace: newsread2.prod.itd.earthlink.net 1007933846 209.86.209.200 (Sun, 09 Dec 2001 13:37:26 PST) NNTP-Posting-Date: Sun, 09 Dec 2001 13:37:26 PST Organization: EarthLink Inc. -- http://www.EarthLink.net X-Received-Date: Sun, 09 Dec 2001 13:37:17 PST (newsmaster1.prod.itd.earthlink.net) Xref: archiver1.google.com comp.lang.ada:17654 Date: 2001-12-09T21:37:26+00:00 List-Id: Nick Roberts wrote: > > I've been looking carefully at my proposal (NJR 5), Jeffrey Carter's (JC01) > and TED's (1.3), and -- to put it totally bluntly -- I still think mine is > the best so far (I just can't help being perfect ;-) for some fairly > specific reasons: > > (1) all my nomenclature is derived directly from Ada.Strings.* wherever > possible, the exceptions being 'cursor', 'cursorage', 'facing', 'prepend', > 'split', 'move_cursor', and 'restart' (about which nobody seems to have > argued anyway), and the generic parameter Element_Type, and the function > End_of_*, both of which I have derived from Ada.*_IO; This is a significant problem with NJR5. Lists are not strings and use different nomenclature. > (3) the closed (passive?) iterator included in both JC01 and TED 1.3 is > inferior to the open, container-wide iterator (I have already outlined, > haven't I?) to be added to my proposal, in that it does not permit > restarting within the client procedure, and it does not permit writing at > all. An iterator procedure is the only thing that is an iterator; anything else called an iterator is misnamed. I don't know what you mean by "writing" in this context. The iterator in JC01 allows updating the value stored at the current position being acted upon. Insertion and deletion should take place outside an iterator. -- Jeff Carter "Hello! Smelly English K...niggets." Monty Python & the Holy Grail