Array Slice Ranges

Trevor Parscal trevorparscal at hotmail.com
Wed Nov 8 22:12:14 PST 2006


== Quote from Walter Bright (newshound at digitalmars.com)'s article
> I have a bit of a problem with .. vs ..., I think they both look too
> similar  making it hard to review code for correctness, and I'd have a
> hard time remembering which means which, another source of bugs.

Perhaps you guys aren't keen on the .. and ...

But it would be nice to have some symbol mean "through" in ranges to acompany the
current .. which means "until"

Like..

0 _ 5 == 0, 1, 2, 3, 4, 5
0 .. 5 == 0, 1, 2, 3, 4

Sorry - I know there's more important things to do.... Just puting my 2 cents in...



More information about the Digitalmars-d mailing list