RFC on range design for D2

Steven Schveighoffer schveiguy at yahoo.com
Wed Sep 10 15:59:19 PDT 2008


"Andrei Alexandrescu" wrote
> Steven Schveighoffer wrote:
>>> I am also sure that if I sat down long enough contemplating my navel I
>>> could come with more examples of iterators=good/ranges=bad.
>>> <snip>
>>
>> Now you're just being rude :)  Please note that I'm not attacking you 
>> personally.  All I'm pointing out is that your solution solves certain 
>> problems VERY well, but leaves other problems not solved.  I think 
>> allowing iterators/cursors would solve all the problems.  I might be 
>> proven wrong, but certainly I don't think you've done that so far.  I'd 
>> love to be proven wrong, since I agree that iterators are generally 
>> unsafe.
>
> Didn't mean to. You are making great points, and I hope (without being 
> sure) they can be addressed. The "contemplating navel" thing is a fave 
> quote of mine from Bjarne's book on C++.

Didn't know that :)  Sometimes when someone is not aware of a quote/joke, it 
seems more personally motivated.  I agree that our discussion is not 
bringing either of us to the other's side.  I'm also hopeful the points can 
be addressed with ranges.

-Steve 




More information about the Digitalmars-d-announce mailing list