3 ms·
I believe it may be a kind of dynamic lookup, but I'm not sure separating stack unwinding from erro signaling needs it. Also my2c: I'm not sure dynamic scope i
by riffraff 15y ago
I believe it may be a kind of dynamic lookup, but I'm not sure separating stack unwinding from erro signaling needs it.
Also my2c: I'm not sure dynamic scope it's completely passé these days.
In general, it is mostly the idea of "leaving control to the user instead of the used" which has been reappearing in the form of AOP and COP.
In a sense, it is also what monkey patching is about in some OO languages, being enabled by the only surviving dynamic lookup, the "self" one.
- mjw 15y agoFair enough -- I forgot about 'self' being dynamically scoped, which is an interesting point. Perhaps it's no coincidence that I have a particular dislike for the scoping rules around Javascript's "this" keyword, as they're perhaps even more dynamically scoped than in other OO languages. http://lambda-the-ultimate.org/node/3166 http://lambda-the-ultimate.org/node/3166 was my reference though, with at least some seeing the PL design debate as being settled in favour of lexical scope. Although some dissent in the comments there.