3 ms·
I'm talking about the core language, which I do find very predictable. You can go crazy with any language. Lua is definitely not worse than Python or JS in this
by spacechild1 1y ago
I'm talking about the core language, which I do find very predictable. You can go crazy with any language. Lua is definitely not worse than Python or JS in this regard.
> No static typing to rest your eye on.
That goes for any dynamically typed language. How is that an argument against Lua in particular?
> Have you read large Lua codebases written by others?
No, because I use it as a scripting language, as intended. I totally agree that one shouldn't use dynamically typed languages for building large applications. But again, this is not specific to Lua.
- 112233 1y agoOh, as a scripting language you embed into your project so that you can write scripts for it — there is hardly anything better than Lua. The C code is super clean and easy to embed and modify. But once that project gets passed to next maintainer — I'm not sure I'd pick Lua over Forth or Scheme.
- pjmlp 1y agoI would pick Tcl instead, but I am biased. :)
- spacechild1 1y agoI occasionally have to write Tcl. No thanks :)
- pjmlp 1y agoI wrote it during four years as main language (1999 - 2003), alongside C.