implicit-context v0.0.1
Imperatorn
johan_forsberg_86 at hotmail.com
Sat Sep 30 13:57:21 UTC 2023
On Saturday, 30 September 2023 at 12:40:29 UTC, Guillaume Piolat
wrote:
> On Friday, 29 September 2023 at 16:56:47 UTC, Imperatorn wrote:
>>
>> Sounds a bit like dependency injection but for state
>
> Possibly, 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.
More information about the Digitalmars-d-announce
mailing list