News for hackers. Stuff that matters.
Re:Dependency injection is dynamic scoping in disguise by eternalban on Thursday November 07, 2019 @05:58PM (#21478194)
I creatd a minimal framework in C++ in mid '90s around the concept of Contextual Objects. Child contexts can be used to affect life-cycle scopes. In this approach, the virtual construct of a 'containment context' allows for managed life-cycles, at an aggregate level. Delete the context and all child objects (recursively) are deleted as well.

There are no comments on this comment yet.