by tryp · 16y ago · 0 comments
The lua users wiki is full of interesting ideas for tackling the basics in ways that leverage lua's simple flexibility.
In my experience 1-based indexing is not a problem when you're just writing Lua code. I've sometimes been frustrated when creating Lua bindings to C-modules which involved some kind of array access though.
It just bugs me that such an obvious wart exists in an otherwise very clean language.
People who write off Lua because of indexing from 1, Python because of the significant whitespace, Lisp for its pares, etc. probably haven't gotten to the really interesting stuff yet.
("foreign" with regards to programming language.)