lua-users home
lua-l archive

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


Uli Kusterer asked the oft-asked question of why Lua
variables are not local by default.  Mike Pall responded:

> The reason is that 'local by default' does not mix well
> with lexical scoping.

This was a great explanation.  The whole thing is available
at:

<http://lua-users.org/lists/lua-l/2005-08/msg00139.html>

-- 
Aaron