String view
Daniel Keep
daniel.keep+lists at gmail.com
Wed Jan 24 07:02:54 PST 2007
Luís Marques wrote:
> Daniel Keep wrote:
>
>> Slices are effectively the same thing as arrays (they work in
>> precisely the same way).
>
>
> Maybe I'm nitpicking but it might be better to refer to slices as an
> operation, returning a new array reference, instead of comparing them to
> arrays directly.
>
> --
> Luís
I could be completely wrong, but this is how I've always looked at it:
slice, n: a section of memory denoted by a starting address and a number
of elements.
slice, v: the operation of creating a new slice given a starting address
and a number of elements from a section of memory.
So "slices" is the plural of the noun "slice", not the verb "slice" :P
I think. Maybe.
-- Daniel
More information about the Digitalmars-d
mailing list