2 comments

[ 0.17 ms ] story [ 14.5 ms ] thread
I don't understand the aversion to the "annoying glue code" (which is perfectly straightforward and readable, and in my experience, you don't end up writing that much of it), and I definitely don't understand the desire to replace it with a ball of magic.
You are right in the simple use cases. And I can see that it makes the dependency declarations more concentrated for large projects. Every DI libraries are magical and need us to learn their terminologies. Just see whether they are efficient and easy to use.