Luke Palmer skribis 2006-08-24 23:57 (-0600):
> Let's say our arrays are simple, for argument's sake:  With a constant
> array, you can:
>   * get its length
>   * get the value of an element at an index
> With an array, you can:
>   * get its length
>   * get the value of an element at an index
>   * set the value of an element at an index

You define in terms of functionality, but don't provide an explanation
for the chosen point of view.

One could say that constant arrays protect against modifications, which
normal arrays don't. Hence, constant arrays do *more*.


Juerd
-- 
http://convolution.nl/maak_juerd_blij.html
http://convolution.nl/make_juerd_happy.html 
http://convolution.nl/gajigu_juerd_n.html

Reply via email to