Wishlist for D
Charles Hixson via Digitalmars-d
digitalmars-d at puremagic.com
Sat Dec 12 19:09:36 PST 2015
On 12/12/2015 03:47 PM, Jack Stouffer via Digitalmars-d wrote:
> On Saturday, 12 December 2015 at 19:55:27 UTC, Charles Hixson wrote:
>> Now I'll occasionally use it, but I so often need to
>> iterate over multiple arrays that I use indexing much more often
>
> Why not use foreach(ref a, ref b, ref c; lockstep(array1, array2,
> array3)) ?
>
Because indexing is easier, more intelligible, and less error prone.
More information about the Digitalmars-d
mailing list