News for hackers. Stuff that matters.
Re:Dependency injection is dynamic scoping in disguise by eru on Friday November 01, 2019 @06:16AM (#21417412)
> One common pattern in this system was that you'd first save the current environment, run the special "environment preparation" function, then the real function, and then write back the saved environment over the modified one, so that you didn't leave the environment changed after you returned.

That sounds exactly like dynamic scoping.

There are no comments on this comment yet.