Hacker News new | past | comments | ask | show | jobs | submit login

I personally don't see how a couple parameters in the constructor are adding so much complexity that you'd be better off without DI.

A good DI container can make it much easier to follow a pretty good amount of general best practices. Single Responsibility, DRY, and Open-Closed Principle to name a few.




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

Search: