[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: compile-time globals
- From: Miles Bader <miles.bader@...>
- Date: Tue, 21 Aug 2007 21:56:14 +0900
Thomas Lauer <thomas.lauer@virgin.net> writes:
>> 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...).
>
> In theory I agree. In practice there seems to be no other documented way
> to get the information where a variable "is coming from".
>
> I agree with the general sentiment that this way of doing checks is sort
> of a hack, that's exactly why I was looking for something cleaner.
Is there potentially a cleaner mechanism that could be added to the
Lua core for this purpose?
-Miles
--
`To alcohol! The cause of, and solution to,
all of life's problems' --Homer J. Simpson