Re:You probably don't need a dependency injection framework
by cyanydeez on Sunday May 25, 2025 @07:59PM
(#44092481)
You're nitpicking for no good reason. You can create global handles to each of those items, and let them instantiate with the class or override them with a create function.
Dependency injection boils down the question of whether or not you can dynamically change a dependency at runtime.
Dependency injection boils down the question of whether or not you can dynamically change a dependency at runtime.