Re:Exactly-Once Initialization in Asynchronous Python
by fulafel on Saturday August 01, 2020 @08:42AM
(#24020027)
DI is just a convoluted synonym for passing in arguments.
[ Parent
| on HN ]
Re:Exactly-Once Initialization in Asynchronous Python
by alexchamberlain on Sunday August 02, 2020 @03:46PM
(#24031097)
Indeed. 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.