Python "why" questions
Lawrence D'Oliveiro
ldo at geek-central.gen.new_zealand
Sun Aug 15 07:00:15 EDT 2010
More information about the Python-list mailing list
Sun Aug 15 07:00:15 EDT 2010
- Previous message (by thread): Python "why" questions
- Next message (by thread): Python "why" questions
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
In message <mailman.2071.1281719688.1673.python-list at python.org>, Thomas Jollans wrote: > "Where it all started" is that 0-based indexing gives languages like C a > very nice property: a[i] and *(a+i) are equivalent in C. From a language > design viewpoint, I think that's quite a strong argument. It would be if pointers and arrays were the same thing in C. Only they’re not, quite. Which somewhat defeats the point of trying to make them look the same, don’t you think?
- Previous message (by thread): Python "why" questions
- Next message (by thread): Python "why" questions
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list