Trying to parse this second sentence from the hilt...
# dagger
c
Trying to parse this second sentence from the hilt guide on android docs: "Doing manual dependency injection requires you to construct every class and its dependencies by hand, and to use containers to reuse and manage dependencies." Is it just me or does the second half of that sentence not make sense?
h
I'm not sure what you mean by it doesn't make sense. My understanding of the whole sentence is that
Manual dependency injection requires you to handle every construction and passing of arguments while doing that it is necessary to create containers which hold these dependencies for you to easily access and edit them later.
c
That sentence makes it more clear to me what is trying to be conveyed. In that case I would change the original sentence to "Manual dependency injection requires you to construct every class and its dependencies by hand, and make use of containers to reuse and manage dependencies."