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

I'm with you on everything you wrote there, except that I think DI has more applications than just unit testing. Inversion of control, whether via DI or otherwise, is potentially useful any time you need more than one variation of a part of your system and the ability to swap them around on the fly.


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

Search: