Software Engineering

How and when to use Builder pattern?

Introduction The Builder Pattern is creational design pattern that encapsulate the construction of a product and allow it to be constructed in steps. I like to use Builder design pattern when an object has too many parameters. This pattern is…

Software Engineering

Template Method Pattern

Introduction The template method pattern is behavioral design pattern that defines the steps for an algorithm and allows sub-classes to provide custom implementation for one or more steps. This design pattern helps us to maximize the code re-usability. General…

Software Engineering

How to minimize your dependency on third party libraries?

Introduction I guess that you are in a similar situation as me, that most projects that you are working on are dealing with third-party libraries.  There is no need to reinvent the wheel since external libraries are usually well tested and…