What I Hate About Your Programming Language
Subject:   C, C++, Java, maybe others - zeroth element arrays
Date:   2003-12-03 12:51:43
From:   anonymous2
Response to: C, C++, Java, maybe others - zeroth element arrays

I believe talking about the architecture of the machine or the storage mechanics of the language is irrelavant.

An origin zero and one can BOTH be useful in DIFFERENT situations. What origin produces the cleanest algorithm for a person to follow?
(modulo arithmetic, use zero base)

A language that can switch between an index origin of zero or one globally inclusive of all functions, operators, classes, objects that might use indexing upon command should be implemented.

If the language could address multidimensional arrays, again the emphasis could be on clean algorithms.

Wait, that was done back in the early 1960's the language is APL.