Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Modern Functional Programming: The Onion Architecture. Parent comment
eg. what if getAccount was hard coded to initialize all the other dependencies it needed on the fly for each call?
If that's still considered DI then it's a much looser term than I understood it to be.
There are no comments on this comment yet.
eg. what if getAccount was hard coded to initialize all the other dependencies it needed on the fly for each call?
If that's still considered DI then it's a much looser term than I understood it to be.