Python "why" questions
Lawrence D'Oliveiro
ldo at geek-central.gen.new_zealand
Sun Aug 15 06:55:36 EDT 2010
In message <4c5db0ae$0$1641$742ec2ed at news.sonic.net>, John Nagle wrote:
> The languages which have real multidimensional arrays, rather
> than arrays of arrays, tend to use 1-based subscripts. That
> reflects standard practice in mathematics.
Actually I’d go one better, and say that the languages that have real
multidimensional arrays allow you to explicitly specify both the lower and
upper bounds of each dimension. E.g. Ada, ALGOL 68. Heck, even Pascal
allowed you to do that.
More information about the Python-list
mailing list