Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

>I never had to use dependency injection to solve a problem,

Here is some life advice. Start passing your dependencies through the constructor instead of using a "new X()" call in the constructor. That is what dependency injection is all about.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: