We are continuing the dependency injection section, in this article we will refactorize the code from the previous entry and, as we remember, that code was not very friendly to read, test and expand. Today we will try to change it 🙂
I promised that in the next article we will already inject dependencies, however, I decided to do everything in turn, present the code on which we will work 🙂
Today’s post will be more written, no code will be because today I will only explain what is dependency injection, why it is, what it is for, etc. in the next post will be the code.