Hacker News new | ask | show | jobs
by personalityson 459 days ago
Array elements are not a continuous measure. Level of water, for example, is.

The mark on your measure tape corresponds to the total sum/amount.

If you count from zero, number of elements no longer corresponds to the size/length. So already here you deviate away from your tape principle.

You have one whole element when your tape measure shows 1, not zero.