System Design has become the most essential part of a software engineer’s job profile. It has also become a crucial part of the interview process as well be it a Big Tech – GAFAM or startup. Well, I got pushed into understanding system design at a very early time in my career and got exposed…
Tag: Design Patterns
Structural Design Pattern: Decorators
As per Wiki structural design patterns are design patterns that ease the design by identifying a simple way to realize relationships among entities. In this post we will discuss Decorators. Decorators, add additional features to object dynamically without using sub-classing Let’s consider an analogy here, our bakery needs some automation, everyday I spend few hours setting up appliances like pre-heating…
Creational Design Patterns: Abstract Factory Pattern
Another Creational Pattern is Abstract Factory Pattern, it is very much similar to Factory Pattern but with more abstraction, it works like a super factory that creates other factory, a use-case of this pattern would be that a Client is suppose to get related objects in a given time, but do not have to know which…
Creational Design Patters – Factory Pattern
Let begin with a scenario I own a Bakery and I am only selling cakes, last Christmas I had a pretty good sale, customers and family friends gave good review on various flavors of cakes, especially Rum cake – it was a hit ! and the I thought to myself why not try selling other…