by panic · 10y ago · 0 comments
https://computerscomputing.wordpress.com/2013/02/18/lua-and-...
Huh, it actually seems like an older language, it's been around for a while and it's used in some major studio games.
* C++ < ANSI C
* two null types < one nil type
* separate types for arrays and dicts < tables
* C syntax < plain english
* Builtin classes < make-your-own classes
That's just my opinion though :)
Instead, you could just use an OOP library, or implement the parts of OOP you want in like 20 lines of Lua.
The great thing about this is you can fine-tune it to your needs. Want transparent encapsulation, or multiple inheritance? It just takes an extra 10-20 lines of code! Now you don't have to pester the Squirrel developers to put it in. :p
No? Use lua.