3 ms·
> Lua makes JS look positively divine. Mmm...just had a quick glance at the language reference. Couldn't see anything that would make it inferior to JS. Care t
by chosenbreed37 7y ago
> Lua makes JS look positively divine.
Mmm...just had a quick glance at the language reference. Couldn't see anything that would make it inferior to JS. Care to elaborate?
- chatmasta 7y agoThe anemic ecosystem, for one.
- notyourday 7y agoWho needs array length?! That's like, dirty. Write your own by iterating via all elements! What do you mean you want to be able to get, like, keys of your object?! No one needs that! Write your own by iterating through the elements! It's a name of a variable! Unless it is an identifier of a field. But we write it the same way. Here we even provide you a doc of this being a "got ya!" We documented it, so it is cool. Don't even get me started on error stack using pcall() nonsense. And if you really want to have a good time try figuring out how local variables scope interacts with each other... or with a goto. I can go on and on and on.