| > [0-based indexes] are a relic of C style arrays I don't think this is true. They exist in other disciplines (maths for instance) that have no relationship with C or other programming languages from the 1970s. > for 0 to count/len/num - 1 I will counter saying that such a for...to syntax is a relic of BASIC. > or even better range syntax that is start inclusive BUT end exclusive I know that your "better" is sarcastic, but I actually find left-inclusive+right-exclusive ranges fantastic. They allow perfect partitioning, easy calculation of lenght, etc. > Arrays should start and end at whatever start index is required I agree. An accommodating language would let you define both lower and upper bounds of an array, instead of its size. |
OPTION BASE 1
or something like that, to change the starting index to 1.