lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


2018-07-05 11:54 GMT+02:00 Axel Kittenberger <axkibe@gmail.com>:
>> I still think the main problem is non-intended assignment to globals,
>> which creates hard-to-find bugs.
>
> And I fully agree with that, and this applies to config files as well.
> Missspelling of variables cause silent missconfigurations.
>
> As posted, one can fix that with a metatable to _G.

Please put comments like these on the "Say no to global by default"
thread.