-
Archives
- August 2017
- March 2017
- December 2016
- October 2016
- June 2016
- May 2016
- October 2015
- September 2015
- August 2015
- July 2015
- June 2015
- May 2015
- April 2015
- February 2015
- January 2015
- September 2014
- August 2014
- May 2014
- April 2014
- March 2014
- February 2014
- November 2013
- September 2013
- May 2013
- August 2012
- June 2012
-
Meta
Monthly Archives: September 2013
Single Responsibility Principle and Encapsulating Responsibilities
As the name suggests, the single responsibility principle states that a class should have a single responsibility and also that it’s responsibility should be entirely encapsulated by the class. For example, let’s say we are writing a class that sends … Continue reading