lua-users home
lua-l archive

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

On 2/20/08, David Given <> wrote:
>  I simply cannot see any clean way around this. As soon as you start
>  using locals-by-default you end up in a horrible maze of special cases
>  and inconsistencies.

i guess that's what limits Python to have not-really-lexical scoping,
with several special cases and confusing closures.

i too dislike the global-by-default solution, but if that's the price
for getting easy-to-use closures, then i won't complain!