Y
Hacker News
new
|
ask
|
show
|
jobs
by
chamomeal
484 days ago
So is DI usually referring to automatic framework-wiring DI? Cause I constantly pass dependencies in as arguments and call it DI.
1 comments
aqueueaqueue
484 days ago
DI can be manual DI - passing dependencies. I think the hallmark is lack of "new" in your classes (or probably lack of specific imports in a non OO idiomatic language like JS)
IoC is more about design than dependency resolution mechanisms.
link
IoC is more about design than dependency resolution mechanisms.