lua-users home
lua-l archive

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


Chris Pressey wrote:
On Fri, 14 Jan 2005 11:48:58 +0100
PA <petite.abeille@gmail.com> wrote:

On Jan 14, 2005, at 11:50, Klaus Ripke wrote:

What's really missing?
> [...]

A way to require (at compile-time) that variables be "declared"
(assigned a value) before use, like Perl's 'use strict'.

I think this would really help those who take Lua coding beyond "mere
scripting" and into "small-time software engineering".  Being able to
catch typos and such at compile-time would really help for non-trivial
projects.

It has to be something that can be turned off, though, as there's no
reason to impede the speed of development when you really are "just
scripting" and don't need it.

http://lua-users.org/wiki/LuaLint

Also, http://lua-users.org/files/wiki_insecure/users/rici/parser.tgz .

Jay