RFC on range design for D2

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Wed Sep 10 15:06:09 PDT 2008


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++.

Andrei


More information about the Digitalmars-d-announce mailing list