top | item 12723492

(no title)

jakub_h | 9 years ago

That may be fixable at compile time, I believe. In the worst case, you could write a patch. (Dijkstra would prefer a half-open indexing scheme anyway.)

discuss

order

bsder|9 years ago

And be incompatible with the universe of Lua programs.

The problem was that Lua reified 1-indexing into the language when they optimized to make arrays faster and then created length operators. At that point, 1-indexing got baked into the language.