Is dependency injection an overkill?

If you have a really small project with 12 classes, then a DI framework is almost certainly overkill . As a rule of thumb, the point where it becomes truly useful is when you find yourself repeatedly writing code that wires up object graphs with multiple dependencies and have to think about where to put that code.

Sizin İçin Seçtik  Garanti hisse senedi geçerlilik süresi nedir?

Leave a Reply

Your email address will not be published. Required fields are marked *