Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Single responsibility principle

Single responsibility principle

Single responsibility principle

Grzegorz Wilczyński

November 12, 2012
Tweet

More Decks by Grzegorz Wilczyński

Other Decks in Programming

Transcript

  1. SOLID The principles when applied together intend to make it

    more likely that a programmer will create a system that is easy to maintain and extend over time. http://en.wikipedia.org/wiki/Solid_(object-oriented_design)
  2. Rule #1 A class should have only one reason to

    change. "Agile Principles, Patterns, and Practices in C#" Robert C. Martin
  3. Rule #2 A class should have only one reason to

    change. "Agile Principles, Patterns, and Practices in C#" Robert C. Martin