[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: RE: Oh no, it's the "global" issue again
- From: "Nick Trout" <nick@...>
- Date: Wed, 14 Apr 2004 11:34:14 -0700
> I've been perusing the mailing list archives trying to determine what
> happened to the proposed "global" keyword for Lua 5. This comes up
because
http://lua-users.org/lists/lua-l/2003-01/msg00108.html
I do agree that the semantics of it got very complicated. My feeling is
that too much functionality was associated with the keyword. Function
environments (setfenv) replaced the keyword and are more powerful, but
don't cover all of the functionality that "global" was supposed to
supply (e.g. limited static testing).
Nick