🔓🔒O in SOLID — Open/Closed Principle (OCP)

The Open/Closed Principle is the second principle in SOLID, and it’s all about writing code that is: