DEV Community


Discussion on: A guide to Solid principles in java

riccardo_cardin profile image
Riccardo Cardin

I think that you should treat each principle more in detail, and isolated. The SRP is one of the more misunderstood principles in the history of programming. The simple word "reason to change" is not self-explanatory, and it requests to be contextualised. When you speak about the SRP, you must always refer to cohesion.

Please, try to have a look at this post of my blog, and let me know what do you think: Single-Responsibility Principle done right.

arpitmandliya profile image
arpitmandliya Author

Awesome Explanation! Thank you Riccardo.
Yes, I do agree each principle deserves separate post.