2 ms·
Dijkstra is right and so were you once. 0 or 1 based arrays is not a fundamental issue. It's more like little endian vs little endian. It's marginally better
by nabla9 8y ago
Dijkstra is right and so were you once.
0 or 1 based arrays is not a fundamental issue. It's more like little endian vs little endian. It's marginally better if everyone settles for one indexing.
In a good high level language and programming style you rarely need to think in indexes. In a low level language 0-indexing is better.