[Submission] D Slices

eles eles at eles.com
Tue May 31 13:35:22 PDT 2011


> Because that's not supposed to be n, it's supposed to be the
length. In
> programming, length tends to a much more useful way to descrbe the
size of
> something than the index of the last element.

Then why not slicing with a[beginning..length] for a slice? It should
be even better.

However, this is my last message on the question. I cannot sustain a
war against all and I have a life outside D that I have to take care
of and I lack the infinity of time for just myself or D. An I am not
paid to post here, neither.

Anyway, I consider the choice D is making is a mistake. A bitter one
in the long run. Well, Cassandra would have predicted the same.


More information about the Digitalmars-d mailing list