|
|
|
|
|
by mfost
1358 days ago
|
|
Of course they don't. They use decimals and say the baby is one week old or so. As for indexing from zero, it's best understood as indexing the position just before elements in an array. Where things will be inserted if you insert an element etc... |
|
var item = my_array[2]
should be read as
"assign to item the value in my_array in the position where you would place something new just before the third item"
1-indexing is, strictly speaking, a better design. The only real argument for it anymore in a higher level language is "it's what I'm used to", or alternatively, "0 already won the popularity contest" (which is actually not a terrible argument in context, though it is a bad one from a purely objective design perspective).