[erlang-questions] beginner: why are arrays zero-based?
Thu Dec 6 18:04:59 CET 2007
On Thu, 6 Dec 2007, Jonathan Amsterdam wrote:
> why are the new arrays in R12B zero-based?
The clumsiness of 1-based numbering is much more serious when you are
dealing with dynamically determined subsequences a lot, as you are with
array indexes. Tuple indexes tend to be more static.
f.a.n.finch <dot@REDACTED> http://dotat.at/
THAMES DOVER WIGHT PORTLAND PLYMOUTH: SOUTHWESTERLY 6 TO GALE 8, OCCASIONALLY
SEVERE GALE 9, PERHAPS STORM 10 LATER. ROUGH OR VERY ROUGH. RAIN OR SQUALLY
SHOWERS. MODERATE, OCCASIONALLY POOR.
More information about the erlang-questions