4 ms·
This discussion provided me some food for thought. You (and the Matlab, and many other like-minded individuals) have chosen is to work with natural numbers¹ as
by userulluipeste 7y ago
This discussion provided me some food for thought. You (and the Matlab, and many other like-minded individuals) have chosen is to work with natural numbers¹ as indexes as these provide the most value for the amount of hassle. Having a 0 based index model is not really a choice the moment where one gets forced to work with the indexes themselves. That is especially when there are negative indexes to be considered, like we happen to encounter in the real world. What is the chance to go on past the integers, having a proportion or some irrational number² like π as index?
¹ https://en.m.wikipedia.org/wiki/Natural_number https://en.m.wikipedia.org/wiki/Natural_number
² https://en.m.wikipedia.org/wiki/Irrational_number https://en.m.wikipedia.org/wiki/Irrational_number