November 2017
Intermediate to advanced
670 pages
17h 35m
English
In the decorator chapter, we looked at inversion of control. We saw how a decorator, for example, the FaultTolerance, can be injected into the flow (of main) by our decorator framework using dependency injection.

We will use the same concept of dependency injection to wire up our application and to provide control over function calls and the data that flows between our interfaces.
Remember our electrician analogy? This is a great time to revisit the concept. Our work is much like the electrician who first turns off the power to the house: who lays the wires and subsequently turns the power on. After the power is turned ...