OCP vs YAGNI - Enterprise Craftsmanship

added by DotNetKicks
11/28/2016 2:25:13 PM

1 Kicks, 527 Views

In this post, I want to cover the topic of OCP vs YAGNI - contradictions between the Open/Closed Principle and the You aren't gonna need it one. Let's start with a refresher for what OCP is. The Open/Closed principle states that: Software entities (classes, modules, functions, etc.)