3 ms·
So, I generally like Dependency Injection (except that it makes things hard to debug) The code tends to be cleaner and there's less of it. It's also easier to
by tarr11 14y ago
So, I generally like Dependency Injection (except that it makes things hard to debug) The code tends to be cleaner and there's less of it. It's also easier to test.
But I really dislike reading this kind of code. It is just really hard to understand. And if it's hard to understand, it's hard to maintain.