News for hackers. Stuff that matters.
Re:Lua, a Misunderstood Language by djur on Friday January 15, 2021 @06:30PM (#25798061)
It's less that Lua is great for beginners than that it's simple to get started with in the environments where it's embedded. It was originally a configuration language, and in a lot of ways it's still more optimized for "open up a text file and plug in some different values for the running program" than it is for implementing actual logic. (That's what I meant by "non-programmers" in the other comment.)

And static typing is hard to make work when your codebase is made up of a lot of independent snippets of code which run in an environment completely determined by an outside program. You'd need something akin to TypeScript's external type definition files.

Re:Lua, a Misunderstood Language by TulliusCicero on Friday January 15, 2021 @06:35PM (#25798115)
Okay yeah, that's fair. It just seems like the advantage of "is easier to build larger programs in a coherent way" is more useful than "is easy for non-programmers to get started right at the beginning" for a lot of the contexts it's used in.