Y
Hacker News
new
|
ask
|
show
|
jobs
by
deaux
195 days ago
Why pose DI as replacing singletons when they're used together all the time? Injecting dependencies to create a singleton repository or service class, which is shared across requests.