Monthly Archive: November 2015

The Single Responsibility Principle (SRP)

How many times you have been tasked to change a class because some functionality is out of date and needs some upgrade? How many times a simple change turns out to be a complicated egg hunt of how a class is working? How many times a small business decision, such...

Objects in JavaScript? 3 ways to do it.

JavaScript is not an OOP language.  This is one of the challenges faced by server-side programmers, specially if you use OOP languages likes C, C++, C# or Java.  We know that using objects give us clarity and a way to translate the problems we are trying to resolve through code....