[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Features you would like to see
- From: Thomas Lauer <thomas.lauer@...>
- Date: Fri, 17 Aug 2007 14:39:53 +0100
firstname.lastname@example.org (Roberto Ierusalimschy) wrote:
> > * an optional mode (similar to a C/C++ #pragma?) that requires *all*
> > variables, local and global, to be explicitly declared
> Have you tried the 'strict' module?
Sure and it certainly helps. But 'strict' is sort of checking for
globals through the (metatable) backdoor. I'd much prefer the compiler
complaining rather than having runtime checks do all the work.
web : http://thomaslauer.com/start