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

Posted in Uncategorized | Tagged , | Leave a comment