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-Thread: 103376,f2690a5e963b61b6 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news4.google.com!news2.google.com!newsread.com!news-xfer.newsread.com!newspeer.monmouth.com!newsfeed.icl.net!newsfeed.fjserv.net!news.tele.dk!news.tele.dk!small.news.tele.dk!newsgate.cistron.nl!feeder.enertel.nl!nntpfeed-01.ops.asmr-01.energis-idc.net!216.196.110.149.MISMATCH!border2.nntp.ams.giganews.com!nntp.giganews.com!news-in.ntli.net!newsrout1-win.ntli.net!ntli.net!xara.net!gxn.net!194.159.246.34.MISMATCH!peer-uk.news.demon.net!kibo.news.demon.net!news.demon.co.uk!demon!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: GCC 4.0 Ada.Containers Cursor danger. Date: Tue, 12 Jul 2005 06:32:57 +0100 Organization: Pushface Message-ID: References: <1120474891.635131.216700@g44g2000cwa.googlegroups.com> <1120575076.876798.108220@g44g2000cwa.googlegroups.com> <1120583470.429264.325450@g43g2000cwa.googlegroups.com> <42cb8d21$0$22761$9b4e6d93@newsread2.arcor-online.net> <42cd064c$0$10817$9b4e6d93@newsread4.arcor-online.net> <42cda8c4$0$22780$9b4e6d93@newsread2.arcor-online.net> <1u3hh2597i4ne$.1ryetugksbmus.dlg@40tude.net> <1121093807.949660.274060@g44g2000cwa.googlegroups.com> <1121124248.600055.292320@f14g2000cwb.googlegroups.com> <1121137531.752285.44280@g44g2000cwa.googlegroups.com> NNTP-Posting-Host: pogner.demon.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: news.demon.co.uk 1121146371 4084 62.49.19.209 (12 Jul 2005 05:32:51 GMT) X-Complaints-To: abuse@demon.net NNTP-Posting-Date: Tue, 12 Jul 2005 05:32:51 +0000 (UTC) Cancel-Lock: sha1:PocMMoQqLMH5ziC7iF3AehSZxzo= User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (darwin) Xref: g2news1.google.com comp.lang.ada:12007 Date: 2005-07-12T06:32:57+01:00 List-Id: "MMM" writes: >>> > An iterator (either passive or active) simply enumerates elements in >>> > their order as specified by the type of container they're in (either >>> >>> Exactly! Note also that the natural name for this is "iterator" not >>> "cursor". >> >> You say "chien", I say "dog". It's the same. >> > Sure it is the same. So why to change? Just to be different? When the Booch Components used the word _iterator_ it was definitely something used to deliver the elements in an order (and I for one can remember users who did rely on an order-of-delivery when it was not at all guaranteed, to refer up-topic; but I always thought that was because they had had brain fade by that time ..). The STL, and now the Ada Containers, regard a pair of _things_ as delimiting a range, and that is most definitely something not covered by the word _iterator_. I for one don't think that _iterator_ is at all the 'natural' name for the concept. I don't think many other Brits would think so either. Of course, we are in the minority now as regards use of English ...