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

I honestly think that DI frameworks don't add a lot of value (for me, when I work alone). You annotate some magic on a class or you call that constructor in your composition root. The explicit thing is nicer from my perspective, but most people don't know how to make it modular very well so the DI frameworks pop up to save people the trouble of learning. I prefer DI framework code to singleton spaghetti though, so...



Join us for AI Startup School this June 16-17 in San Francisco!

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

Search: