3 ms·
You can actually switch starting indices fairly easily in Fortran [1], or for that matter Julia, but for some reason the option doesn’t seem to be particularly
by cbkeller 6y ago
You can actually switch starting indices fairly easily in Fortran [1], or for that matter Julia, but for some reason the option doesn’t seem to be particularly widely used. People seem to give a lot of weight to the default, even when the effort to change is minimal. Added complexity/ambiguity?
[1] https://stackoverflow.com/questions/48562873/zero-indexed-array-in-fortran#48563777 https://stackoverflow.com/questions/48562873/zero-indexed-ar...