[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Say No to global-by-default
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Thu, 5 Jul 2018 15:01:09 -0300
> One could imagine a mechanism where tables get locked - new keys are not allowed to be added to locked tables, but existing keys could be used in the usual way[
Just set a __newindex metamethod for _ENV that raises an error.
- References:
- Say No to global-by-default, Egor Skriptunoff
- Re: Say No to global-by-default, Viacheslav Usov
- Re: Say No to global-by-default, Etiene Dalcol
- Re: Say No to global-by-default, Viacheslav Usov
- Re: Say No to global-by-default, Thijs Schreijer
- Re: Say No to global-by-default, Viacheslav Usov
- Re: Say No to global-by-default, Thijs Schreijer
- Re: Say No to global-by-default, Viacheslav Usov
- Re: Say No to global-by-default, Marc Balmer
- Re: Say No to global-by-default, Viacheslav Usov
- Re: Say No to global-by-default, Dirk Laurie
- Re: Say No to global-by-default, Pierre-Yves Gérardy
- Re: Say No to global-by-default, Dirk Laurie
- Re: Say No to global-by-default, Frank Kastenholz