On Monday, 30 April 2012 at 19:50:36 UTC, 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.

Both internal and external iteration have their pros and cons. It doesn't make sense to claim one is superior to the other.

Ranges are more appropriate for serial code whereas internal iteration is better suited for concurrent code.

Reply via email to