3 ms·
This is part of the reason that I highly recommend compile time dependency injection (Macwire[1], Dagger 2[2]) over runtime dependency injection (Spring, Guice)
by eeperson 9y ago
This is part of the reason that I highly recommend compile time dependency injection (Macwire[1], Dagger 2[2]) over runtime dependency injection (Spring, Guice). It is generally much faster. Also, if it does slow down compilation, it is a price rarely paid due to incremental compilation.
[1] https://github.com/adamw/macwire https://github.com/adamw/macwire
[2] https://google.github.io/dagger/ https://google.github.io/dagger/