Writing on software design, leadership and technology.

All of my long-form thoughts on software design, leadership and technology and more, collected in chronological order.

Factory Design Pattern in Javascript, What Does Do?

Design patterns in software development are awesome. Because design patterns solves many problems most of the time. So i think learning design patterns in software development is a must. And Factory Design Pattern is one of the most popular one.

Understanding “Prototypes” in JavaScript

JavaScript objects also have one additional attribute: a pointer to another object. We call this pointer the object’s prototype. If you try to look up a key on an object and it is not found, JavaScript will look for it in the prototype.