On Friday, 29 September 2023 at 16:56:47 UTC, Imperatorn wrote:Sounds a bit like dependency injection but for statePossibly, I'm not familiar with dependency injection. When is it useful?
When you want to register a bunch of objects and then just use it from various places, you just state in your ctor that you want to use it and it will be provided by the framework.
