The Open-Closed Principle (In Rhyme)

David Mears
1 min readJul 4, 2019

Software entities should be open for extension but closed for modification.

Here’s a little principle

That’s readily evincible.

You’ll see a sitch quite oft where

An entity in software

Is certainly extensible

How eminently sensible!

But ‘twould be utter libel

To call it modifiable.

--

--