The Open/Closed Principle – OCP

The second principle we’re going to talk about is the Open/Closed Principle. If we look at Wikipedia, we will see the following definition: The Open/Closed Principle states that software entities (classes, modules, functions, etc.) should be open for extension, but closed for modification. Problem Statement What it means, in essence, is that when we need to introduce a change, we shouldn’t dig deep into [...]

By | 2017-09-04T09:39:57+00:00 September 4th, 2017|.NET, C#, Design|0 Comments