Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
SomeCallMeTim
on Oct 24, 2013
|
parent
|
context
|
favorite
| on:
Why Python uses 0-based indexing. It's because of ...
...and if you're using LuaJIT, 0-based arrays will even be optimized appropriately (i.e., array[0] will be stored internally in the array rather than in the hash).
But you'll still be fighting with the libraries and array literals, as you say.
justincormack
on Oct 24, 2013
[–]
You can fix some libraries by using ipairs. But not all of course.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
But you'll still be fighting with the libraries and array literals, as you say.