Part II: Writing SOLID code
CHAPTER 5 The single responsibility principle
CHAPTER 6 The open/closed principle
CHAPTER 7 The Liskov substitution principle
CHAPTER 8 Interface segregation
CHAPTER 9 Dependency injection
SOLID is the acronym for a set of practices that, when implemented together, make code adaptive to change. The SOLID practices were introduced by Bob Martin almost 15 years ago. Even so, these practices are not as widely known as they could be—and perhaps should be.
In this part, a chapter is devoted to each of the SOLID principles:
S The single responsibility principle
O The open/closed principle
L The Liskov substitution principle ...
Get Adaptive Code via C#: Agile coding with design patterns and SOLID principles 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.