© 2023 Hashnode
#single-responsibility-principle
The SOLID principles are a set of design principles for object-oriented programming that were introduced by Robert C. Martin in his 2000 paper, "Design Principles and Design Patterns". These principles are intended to help developers create…
A mantra is a memorable phrase you repeat to yourself for guidance. 'Focus and simplicity' was one of Steve Jobs's. I love how he distilled his thought process into those two words. It made me wonder …
The Single Responsibility Principle (SRP) is an important concept in object-oriented programming that states that a module, class, or function should execute only one particular task in a program. The…
If you read my article about adapter design pattern, at the end I said the pattern followed some solid design principles. Actually the word SOLID does not mean that the principles are solid (you have …
Every software component should have one and only one responsibility. There are two concepts that can help us understand more the meaning of the Single Responsibility Principle: I. Cohesion Cohesion is the degree to which the various parts…