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
smarter | better | faster
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Digitalmars-d