HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by hota_mazi | Hacker News Reader
Parent
Full thread
hota_mazi
·
That's not dependency injection, it's dependency passing.
View on HN
dbenhur
·
It's the method of DI known as Constructor Injection.
https://en.wikipedia.org/wiki/Dependency_injection#Construct...
Reply on news.ycombinator.com