News for hackers. Stuff that matters.
Re:Breaking Up with IoC Containers by j_baker on Monday July 19, 2010 @12:00PM (#1529071)
Dealing with dependencies is almost always the toughest part of making code modular. This seems to be good advice for a small, simple app. But as your code gets more complex, you need a strategy for dealing with dependencies somehow. I'm not saying that needs to be a DI framework of course. But I start to appreciate them more and more as my codebase grows.
Re:Breaking Up with IoC Containers by darkxanthos on Monday July 19, 2010 @12:49PM (#1529254)
You're on a great track with this comment. It is also important to not forget that instantiating objects is a part of our domains not just some wart to be hidden.
Re:Breaking Up with IoC Containers by jedbrown on Monday July 19, 2010 @01:07PM (#1529323)
Sometimes the instantiation is really private. Lifting all dependencies to the top level isn't progress, especially if you want plugins or a friendly interface.