3 ms·
Compile time DI doesn't mitigate huge stack traces or using unnecessary interfaces, which both contribute to bloat. Non-trivial programs don't have to be verbo
by sidlls 6y ago
Compile time DI doesn't mitigate huge stack traces or using unnecessary interfaces, which both contribute to bloat.
Non-trivial programs don't have to be verbose. They are generally made so by the addition of unnecessary "features" that, in turn, require even more additions "to reduce complexity."
- apta 6y agoAs I mentioned, you don't have to use unnecessary interfaces with DI (compile time or runtime). You can directly inject your implementation classes. Secondly, huge stack traces are not related to DI either, they're an orthogonal issue.