News for hackers. Stuff that matters.
Re:Compile-Time DI vs. Run-Time DI by stabbles on Tuesday April 30, 2019 @01:49PM (#19790215)
Yes, in that case you probably need to parse a config file.

But you might also encounter DI config files for specific environments, like development where you inject MockMailer, TrivialLogger and InMemoryDatabase instead of RealLifeMailer, CloudLogger and ActualDatabase.

There are no comments on this comment yet.