| > sorry, not to nitpick, but I am really not a fan of one-based indexing It is very funny how this is just the one sole criticism that always gets brought up. Not that other problems don't exist, but they're not very talked about. Lua's strength as a language is that it does a lot quite well in ways that aren't noticeable. But when you compare things to the competition then they're quite obvious. E.g. Type Coercion. Complete shitshow in lots of languages. Nightmare in Javascript. In Lua? It's quite elegant but most interestingly, effortlessly elegant. Very little of the rest of the language had to change to accomodate the improvement. (Excercise for the reader: Spot the one change that completely fixes string<->number conversion) Makes Brendan Eich look like a total clown in comparison. |