Does D have too many features?
Timon Gehr
timon.gehr at gmx.ch
Mon Apr 30 13:04:40 PDT 2012
On 04/30/2012 09:50 PM, Walter Bright wrote:
>
> I'm surprised nobody has mentioned opApply. That was a good idea at the
> time, but Ranges are a superior solution. I'd like to see new code not
> use opApply. It's a dead end, though it'll still be supported for a long
> time.
>
foreach has been mentioned. I don't think ranges are unequivocally a
superior solution. opApply is more powerful for fancy iteration tasks,
such as parallel foreach.
More information about the Digitalmars-d
mailing list