lua-users home
lua-l archive

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


> Incidentally, the scoping rules of both Lua and Python also mean
that
> defining recursive local functions is not straightforward, because
the
> variable holding the function object is not visible to the function!

Python is going to revisit scoping with Python 3000.  I haven't
followed the discussions, but I suspect that Python 3000 will
probably become fully lexically scoped, and try to retain as
much of its simple scripting feel subject to that constraint.

Tom