[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [CFD] Local functions for Lua 4.1
- From: "John Belmonte" <jvb@...>
- Date: Thu, 22 Nov 2001 11:56:08 +0900
> So, what do you think about this proposal? Discussion opened :-)
>
> Ciao, ET.
A slippery slope, this proper lexical scoping...
It's a sound proposal, but what about backwards compatibility? How much
code is out there doing "function x()" at the top scope and expecting to
generate a global?
Someday it would nice to have a mechanism for gradually introducing
incompatibilities like Python's "__future__" module
(http://python.sourceforge.net/peps/pep-0236.html).
-John