[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Implicit Globals - A compile time solution.
- From: "Javier Guerra" <javier@...>
- Date: Wed, 20 Feb 2008 11:13:51 -0500
On 2/20/08, David Given <firstname.lastname@example.org> 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!