Y
Hacker News
new
|
ask
|
show
|
jobs
by
kevan
4202 days ago
That's the dependency injection[1] way to do it.
[1]
http://en.wikipedia.org/wiki/Dependency_injection