[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: stack level parameter
- From: steve donovan <steve.j.donovan@...>
- Date: Tue, 19 Jan 2010 08:28:55 +0200
On Tue, Jan 19, 2010 at 6:56 AM, Mark Hamburg <firstname.lastname@example.org> wrote:
> This is arguably one of the strongest arguments for the dynamic scoping proposal. in-do-end already deals with one of the chief reasons to use a stack level index in setfenv. Dynamic scoping would deal with one of the chief reasons to do an indexed getfenv.
I get worried by the phrase 'dynamic scoping', since it implies that
one can never tell what environment is currently loaded. Is the idea
to use it instead of the current trick of resetting a function
environment? What are the abuse scenarios?