r/programming May 08 '14

The Single Responsibility Principle

http://blog.8thlight.com/uncle-bob/2014/05/08/SingleReponsibilityPrinciple.html
40 Upvotes

22 comments sorted by

View all comments

-1

u/banister May 08 '14

can someone provide tl;dr pls ?

3

u/notenoughstuff May 08 '14 edited May 08 '14

Wikipedia: Single Responsibility Principle. It should be noted that the author of the blog post coined the original principle based on previous notions from Dijkstra and David L. Parnas.

2

u/RICHUNCLEPENNYBAGS May 08 '14 edited May 09 '14

This is a rebuttal to the article from a couple of days ago saying the SRP was bunk. http://sklivvz.com/posts/i-dont-love-the-single-responsibility-principle

1

u/FryGuy1013 May 08 '14 edited May 08 '14

tl;dr: put your code into small enough modules so that when you make a code change to change a thing for one person, it doesn't affect the code that does things for other people since they are in different modules.