Hacker News new | ask | show | jobs
by jmull 1569 days ago
Maybe it's just my bad luck, but the projects I've seen from the inside where DI was used, it all turned into a dogawful blob of spaghetti code.

It was OK -- quite good, really -- in small projects... but of course pretty much any organizing principle is workable in small projects. Good organization needs to scale up.

I'm not quite ready to write it off.

For one, those large projects used a framework. Perhaps the lack of friction helped lead to thoughtless injection.

And, of course, no organization scheme can prevent the spaghetti when the project and its leadership are disorganized.

So I'm not quite ready to write it off, but I'm awfully skeptical. And it certainly doesn't seem necessary.