5 ms·
> my #1 complaint, variables default to global scope AND initialized. Lua, originally, was a configuration language. You know, the sort of use-case you use a .
by outworlder 4y ago
> my #1 complaint, variables default to global scope AND initialized.
Lua, originally, was a configuration language. You know, the sort of use-case you use a .ini (or these days, YAML) file for. Except you have realized you need some logic to set your flags, so you decide to make your config file programmable.
It has evolved to its current form but these roots remain. They should have added a 'strict' option.