4 ms·
> Then it's just a massive waste of time and gets in the way. I find it very useful for several purposes that have nothing to do with mocking or testing. > an
by balfirevic 6y ago
> Then it's just a massive waste of time and gets in the way.
I find it very useful for several purposes that have nothing to do with mocking or testing.
> and have become blind to just how much extra code it generates
It doesn’t generate any extra code at all.
For the record, I think that built-in .NET DI is pretty bad. It would be better if they managed to avoid including that abstraction in the framework, even if I personally choose to use DI in most of my projects.
- aloner 6y agoWhat DI library do you use instead?
- balfirevic 6y agoDryIoc whenever it’s up to me to choose one: https://github.com/dadhi/DryIoc https://github.com/dadhi/DryIoc I’ve also used Autofac in projects where it was already in place - I don’t hate it but I like DryIoc better.