Does D have too many features?
foobar
foo at bar.com
Mon Apr 30 15:16:02 PDT 2012
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.
More information about the Digitalmars-d
mailing list