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.

Reply via email to