iamgautam.hashnode.devThe Observer Design PatternIn this article, I will explain the Observer Design Pattern simply and understandably. I will use a hospital patient monitor system as an example. Picture a hospital room. One patient. One heart monitor. But several different things care about that d...Jan 7·4 min read
iamgautam.hashnode.devThe Prototype Design PatternHave you ever heard of the Prototype Design Pattern? Today, I will explain this in an easy-to-understand manner. First, let’s take the following example: You are creating a team-based first-person shooter game where there will be one real player and ...Dec 18, 2025·4 min read
iamgautam.hashnode.devThe Factory Design PatternIn this article, I will explain the factory design pattern in a simple and straightforward manner. First, let’s look at one example and see what the problem is: public class CoffeeService { public Drink prepareDrink(String type) { if (typ...Dec 1, 2025·4 min read
iamgautam.hashnode.devThe JavaScript Event LoopIn this article, I will help you understand the JavaScript event loop. So basically there are three things: the call stack, the webapis and the queues. Stop right there!, This is the worst way to understand it. There is a better and easier way to und...Nov 9, 2025·4 min read
iamgautam.hashnode.devBuilder Design PatternHello, in this article, I will explain the Builder Design Pattern in depth, but I will do so in very easy terms. Let’s say you have one class User with fields firstname, lastname, age, and city where they live. If you try to make parameterized constr...Nov 2, 2025·5 min read