lua-users home
lua-l archive

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


On Fri, Mar 30, 2012 at 1:56 AM, Coda Highland <chighland@gmail.com> wrote:
> Well, the whole idea of doing it with the command line flag is that
> you can turn it on during development and then not have the overhead
> of having a metatable on _G in production use.

Ah, but strict.lua does not actually cost you anything, because _G's
__index only gets fired if the symbol is _not_ found, which is an
error condition.

steve d.