3 ms·
I programmed in 1-based languages for a decade before I used C yet I prefer 0-based. If you are calculating an index the domain and range of the index function
by buckminster 8y ago
I programmed in 1-based languages for a decade before I used C yet I prefer 0-based.
If you are calculating an index the domain and range of the index function are very often 0-based. So you have to subtract and add one to convert from and to 1-based. It's just messy.