[Jprogramming] The n-cell model of an array
Erling Hellenäs
erling at erlinghellenas.se
Wed Dec 20 09:12:24 UTC 2017
We have two questions here. One is if it is natural that an array
without dimensions have one item. The other one is if there could be an
item, but an empty one. /Erling
Den 2017-12-19 kl. 20:01, skrev Raul Miller:
> An empty tank zero array would be inconsistent.
>
> The number of elements in an array is the product of its dimensions, and
> the multiplicative identity is 1, not 0.
>
> Thanks,
>
More information about the Programming
mailing list