👨💻 Do you write good code? Find out now!
We have all of the individual pieces of the app architecture in place. Before we can utilize them by building a UI though, we have to connect them together. Since every class is decoupled from its dependencies by accepting them through the constructor, we somehow have to pass them in.
We've been doing this all along in tests with the mocked classes. Now, however, comes the time to pass in real production classes using a service locator.
Go to my website for more information, code examples, and articles:
●
Follow me on social media:
●
●
●
0 Comments