On Iteration
Moritz Warning
moritzwarning at web.de
Tue Nov 10 11:09:34 PST 2009
On Tue, 10 Nov 2009 06:59:31 -0800, Bill Baxter wrote:
> On Mon, Nov 9, 2009 at 6:17 PM, Andrei Alexandrescu
> <SeeWebsiteForEmail at erdani.org> wrote:
>> dsimcha wrote:
>>>
>>> == Quote from Andrei Alexandrescu (SeeWebsiteForEmail at erdani.org)'s
>>> article
>>>>
>>>> I consider changing a bit D's range model following the better
>>>> understanding reflected in this article:
>>>> http://erdani.com/publications/on-iteration.html If you have any
>>>> thoughts and if you can help with the implementation, please let us
>>>> know.
>>>> Andrei
>>>
>>> Can you detail a little more what you're proposing? I read your
>>> article this
>>> morning, though admittedly I skimmed over some of the examples that
>>> looked like
>>> things I had already been using in my code since ranges were released.
>>> The only
>>> thing I noticed was the save() function for forward ranges. This
>>> resolves the old
>>> wart that input ranges vs. forward ranges are strictly a convention,
>>> and I think
>>> it's a good idea. Other than that, again, please distill what you're
>>> proposing.
>>
>> One is indeed save(), the other is separation of iteration from access.
>> These are the only major changes. The second is quite hefty.
>>
>> BTW, just saw on the announce group that the article was reddited -
>> please vote up: http://www.reddit.com/r/programming/comments/a2hv3/
>>
>>
>> Andrei
>>
>>
> I'm not sure why this one is staying so far under the radar. Just
> marketing? The title of the previous reddit story "Iterators must die"
> got a lot more attention. I'd hate to think it just comes down to
> picking deliberately inflammatory titles.
>
> --bb
I think it's another case of "Iterators? Again?".
The announcement to finish the topic is likely to have a better
perception.
More information about the Digitalmars-d
mailing list