DEV Community

Discussion on: IServiceCollection In C# – Simplified Beginner’s Guide For Dependency Injection

Collapse
 
arabbetts profile image
Andy Rabbetts

Good article, I wholeheartedly agree with DI and combining SOLID principles together with versioning, it just goes a long way to writing maintainable, testable code that scales better and can be concurrently worked on, it takes longer but is really worth it :-)

Collapse
 
devleader profile image
Dev Leader

Absolutely! And I think the reality is that the "takes longer" part is only initially :) It's a bit of an upfront cost, especially when learning... but once you get the hang of it more, then it's almost no extra effort up front AND you get all the goodness later!

Thanks so much for the comment!