SOLID Principles: OCP (2 of 4)
If you missed the previous post from this series check it out SOLID Principles: SRP and DIP (1 of 4). Open Closed Principle The OC principle states that “software entities (classes, modules, functions, etc.) should be open for extension, but closed for modification” lets examine the meaning of extension and modification: Extension means that the current functionality could be, relatively…