How can you extend programs without changing them?

What is the OPEN-CLOSED PRINCIPLE?

The open-closed principle might be the most important S.O.L.I.D. design principle. But what is it? How can you extend programs without changing them? Sounds like a contradiction, right? Learn how to minimize code changes when changing existing systems by using Polymorphism.

Written by Loek van den Ouweland on 2021-07-12.
Questions regarding this artice? You can send them to the address below.