Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
deaux
7 days ago
|
parent
|
context
|
favorite
| on:
Patterns.dev
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.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: