C++ / Why Iterators Got It All Wrong
Robert M. Münch via Digitalmars-d
digitalmars-d at puremagic.com
Sat Sep 2 13:17:40 PDT 2017
On 2017-08-31 07:13:55 +0000, drug said:
> Interesting. How is it comparable with iterators and ranges ideas?
Well, see: http://www.rebol.com/docs/core23/rebolcore-6.html#section-6
Just download the interpreter and play around with it to get a feeling.
Overall it's way more functional. Like getting the last element: copy
back tail my-series
What I don't like is that indexing starts at 1, because this makes
working with +/- offsets from a specific positon cumbersome.
--
Robert M. Münch
http://www.saphirion.com
smarter | better | faster
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20170902/38914b24/attachment.html>
More information about the Digitalmars-d
mailing list