Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Dependency Injection is a Virtue. Parent comment
It just allows you to pass in anything the situation requires.
It allows your code to depend on an interface, instead of an implementation, even if the language doesn't have explicit interfaces.
There are no comments on this comment yet.
It just allows you to pass in anything the situation requires.
It allows your code to depend on an interface, instead of an implementation, even if the language doesn't have explicit interfaces.