Course lectures : 2 of 7

Single Responsibility Principle (Part 2)

Principles and Patterns

Last updated: 11th November 2016

In this episode we continue refactoring our Book class to comply with the Single Responsibility Principle.

solid principlesoop principlesprogramming principlessingle responsibility principle

COMMENTS

If you'd like to include code example please wrap your code within <pre><code> tags.


<pre>
<code>
function fullName(firstName, lastName)
{
    return firstName + ' ' + lastName;
}
</code>
</pre>