Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
capableweb
· 5y ago · 0 comments
Why can't you just do DI the same way you do it in JS? You can pass Objects as parameters to functions and that's all you need.
Comments
[–]
arcosdev
5y ago
You are right, but I was learning they way "it is done" at the time.