Y
Hacker News
new
|
ask
|
show
|
jobs
by
gizzlon
4734 days ago
"At its core DI is basically constructing instances of objects with the help of other objects."
Why would you wan t that in python? Doesn't python have higher order functions?
1 comments
kyllo
4734 days ago
Exactly, in a dynamic language with first-class functions you don't need to create object factories just to pass around static methods between scopes.
link