3 ms·
DI is just a convoluted synonym for passing in arguments.
by fulafel 6y ago
DI is just a convoluted synonym for passing in arguments.
- alexchamberlain 6y agoIndeed. If you want it to be cleaner, a discipline of constructor arguments for injection and __call__ arguments for semantic input is really all you need.