RFC on range design for D2
Andrei Alexandrescu
SeeWebsiteForEmail at erdani.org
Tue Sep 9 10:42:37 PDT 2008
Walter Bright wrote:
> BCS wrote:
>> I was referring to the implementation as visible from the called
>> code's side
>
> opApply isn't going to go away, it will still be there as an alternative.
I disagree with that as I think that would be one perfect place to
simplify the language thus fulfilling bearophile's and many others' wish.
Say we refine ranges to work with foreach to perfection. Then we have:
1. A foreach that sucks
2. A foreach that rocks
The obvious question is, why keep the one that sucks?
Andrei
More information about the Digitalmars-d-announce
mailing list