.net - Using a dependency injection framework or write your own? -


When starting with a new application, will you use the existing dependency framework and risk potential deficiencies, or you Choose to write your own which is completely adaptable and why?

IMO, our job is to check the client's problems, dependency injection (or logging, or ORM, etc.) frameworks Do not write. When an appropriate framework exists, in my opinion, you should always use that framework.

To add it, if this structure is an open source, then there is no excuse to use it because you have any possible drawbacks.

I think that often we lose the site of our purpose as a programmer, we focus on interesting problems (for example write a dependency injection framework) and procrastinate on boring problems (a Writing yet another CRUD application for the client.): D


Comments