lua-users home
lua-l archive

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


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?

[Disclaimer: I haven't looked at 5.1 yet so I might be jumping the gun
here...]

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.

> Even better: what could be removed? (Half-joking :o)

popen :)

-Chris

> Cheers,
> 
> PA.
> 
>