[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: compile-time globals
- From: Miles Bader <miles.bader@...>
- Date: Tue, 21 Aug 2007 18:51:28 +0900
Thomas Lauer <email@example.com> writes:
> It seems either a separate lint and/or those runtime checks are the
> way to go.
It'd be nice if the runtime checks were as cheap as possible though --
e.g., _G actually contains the global values and doesn't incur an
__index call for every lookup!
Looking at the example "strict" module, it calls "debug" module stuff,
which seems a little bit dodgy to me (I generally have the idea that
the debug module shouldn't be used when not debugging...).
Next to fried food, the South has suffered most from oratory.
-- Walter Hines Page