RFC on range design for D2

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Tue Sep 9 14:40:47 PDT 2008


Manfred_Nowak wrote:
> Benji Smith wrote:
> 
>> Given the use of "getNext", I think "hasNext" is a more natural
>> choice 
> 
> clapping hands.

Walter would love that.

for (R r = getR(); r.hasNext; r.next) { ... }

Look ma, no negation! Oops, I just materialized one with the exclamation 
sign.


Andrei


More information about the Digitalmars-d-announce mailing list