>>26Arrays are maps, like hash tables and "pure" functions (which should really just be called functions). They map an index to a value.
People who use one-based (or arbitrary based) arrays look at it like this:
1|A
2|B
3|C
4|D
Arrays are treated like other kinds of maps.
People who use zero-based arrays try to justify their decision like this:
0|
|A
1|
|B
2|
|C
3|
|D
They do not, however, do this for functions or associative arrays. If you asked them to make a table for functions, they would put the arguments and results in the same row.