lua-users home
lua-l archive

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

On Tue, May 10, 2016 at 8:32 PM, Andrew Starks <> wrote: a very useful syntax for a configuration file that you might employ in your application. Adding "global" or "local" to the front of each declaration would be ugly and detract from this simplicity. Hopefully, in this context, we can agree that "global by default" makes some sense.

Sure. My question was not about changing the default mode. It was about a new mode, with the programmer retaining ultimate control over the mode switch.

> Since "strict.lua" (already mentioned) is able to provide a way to guard against accidental globals

... already mentioned to be unreliable.