News for hackers. Stuff that matters.
Re:I don't love the single responsibility principle by andystannard on Wednesday May 07, 2014 @03:18AM (#7708991)
I think SRP in terms of using classes with dependency injection. If you are injecting an instance of a class you only want it do do one thing and changing the class being injected you only want it to change one piece of behavior. If the class has more than one responsibility it would mean that injecting dependencies would become unmanageable.

There are no comments on this comment yet.