3 ms·
The best part is that he starts off with the "usual" one-based indexing, and then decides to change the indices because it suits his situation better. Us progra
by Twisol 6y ago
The best part is that he starts off with the "usual" one-based indexing, and then decides to change the indices because it suits his situation better. Us programmers mostly have to stick to the indexing scheme baked into our programming language; we can't switch things up based on the problem without introducing a separate abstraction to proxy access through.