2 ms·
the problem is that those DI frameworks are all adding substantial amount of complexity and brain load. I started using just static factories in my code, and a
by riku_iki 3y ago
the problem is that those DI frameworks are all adding substantial amount of complexity and brain load.
I started using just static factories in my code, and abandoned all those DI and it works well enough.
- andrekandre 3y ago> I started using just static factories in my code, and abandoned all those DI and it works well enough. i have done this as well (though not in java), it makes knowing what gets initialized how and where much easier and faster to debug