Rocking SOLID should be a top priority for any team coding in OOP. SOLID is a group of design principles which offer guidance to developers designing and coding complex applications. But, before I begin I have to rant. Professionals in any field love to create complex jargon through legalese, academese, and other species of “intellectual” and pretentious vernacular. Maybe it helps them feel big, special, smart, or part of a clique. Who knows. Whatever the reason, it’s crippling to those learning and damaging to those trying to communicate with others. Einstein said it best, “If you can’t explain it simply, you don’t understand it well enough.”
SOLID may be intimidating the first time you come across it; the principle names ring of scientific conceit but don’t let this keep you from learning. Over the next 5 posts, let’s get together and break down each principle. We’ll look at how teams adopting SOLID have given rise to clean, concise, and maintainable code.
Part 2: OCP – Open/Closed Principle