3 ms·
Actually I just went here: http://en.wikipedia.org/wiki/Comparison_of_programming_languages_%28array%29 http://en.wikipedia.org/wiki/Comparison_of_programming_l
by scotty79 11y ago
Actually I just went here: http://en.wikipedia.org/wiki/Comparison_of_programming_languages_%28array%29 http://en.wikipedia.org/wiki/Comparison_of_programming_langu...
sorted table by "Default base index" and at first picked FORTRAN, considered COBOL and Smalltalk for a while then saw Lua and thought that should resonate with people. My personal experience with 1 based indexing is from Matlab and Pascal (though you can base your indexes on whatever value you want there).