Single Responsibility Principle — It Isn’t What You Think It Is

Phillip Johnson
CodeX
Published in
7 min readApr 2, 2022

--

Photo by Ross Findon on Unsplash

Introduction

The Single Responsibility Principle is the most misunderstood of all the SOLID Principles. I’ve certainly gotten it wrong in the past and almost everybody I talk to gets it wrong in the same way. How can that be when it seems like the simplest principle? Granted, not all people get it wrong, if you got it right, well done! You’re in…

--

--

Phillip Johnson
CodeX
Writer for

Over 20 years experience in software engineering, mostly in leadership positions. Passionate about software craftsmanship.