Chapter 8. The open/closed principle

After completing this chapter, you will be able to

Image Understand different interpretations of the open/closed principle.

Image Treat SOLID code as append-only.

Image Compare and contrast different class extension-point mechanisms.

Image Use protected variation as a guideline for extension points.

The oxymoronic nature of the open/closed ...

Get Adaptive Code: Agile coding with design patterns and SOLID principles, Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.