Lists of Figures, Tables and Listings
List of Illustrations
- Figure 1.1: Late binding is enabled by DI, but to assume that it’s only applicable in late-binding scenarios is to adopt a narrow view of a much broader vista.
- Figure 1.2: Perhaps you’ve been assuming that unit testing is the sole purpose of DI. Although that assumption is a different view than the late-binding assumption, it, too, is a narrow view of a much broader vista.
- Figure 1.3: In a cheap hotel room, you might find a hair dryer wired directly into the wall outlet. This is equivalent to using the common practice of writing tightly coupled code.
- Figure 1.4: Through the use of sockets and plugs, a hair dryer can be loosely coupled to a wall outlet.
- Figure 1.5: Using a socket and ...
Get Dependency Injection Principles, Practices, and Patterns now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.