Hacker News new | ask | show | jobs
by cam- 3918 days ago
Dependency injection is brilliant for testing. Prior to DI you often has to have two constructors, one for prod, one for testing. DI took that away.