Posted on: 8/26/2012 10:14:56 AM | Views : 867

I love to write code, but that doesn't mean I want to write the same code over and over again. And I certainly don't want to have to hunt down all that redundant code when I want to refactor a few pieces of it. That's why I am a huge advocate for the Single Responsibility Principle (SRP) . or in simplest terms, I prefer to make smaller sets of code that have a primary focus. In JavaScript, that means modules like the ones below.
imageGo to the complete details ...