I fell out of love with Lua
SyntaxMy real issue with Lua is the syntax. It's different for the sake of being different. A claim is always made that the language is made to be easy to understand. There's a lot of places where this falls to bits. Want to add two strings together?
mystring = front + back;No, that's too hard to understand right? Lets do this instead.
mystring = front .. back;Why is that easier for people to learn? Why are // comments harder to understand than -- comments? How do we test if something is not equal to something? Which one of these makes the most sense?
one ~= two one != twoThe ! isn't used anywhere else on Lua, so there's no real reason for them to use ~ other than to be contrary.
Bad HabitsBy using Lua you're teaching a bunch of people the wrong way to program. You're teaching them a language that isn't going to help them in the future. You're teaching them that arrays start at 1 not 0.
Missing FeaturesLua doesn't have unicode support. This is a pretty big deal in a modern day scripting language, you shouldn't have to treat strings like binary data and you shouldn't have to install addons to support unicode. No "var++" or "var += blah". The whole point of scripting languages is to make it easier to code. No continue keyword.
Turn your phone to view blog list