Posts

Showing posts from January, 2025

Creational Design Pattern - Software Engineering

Image
Creational Design Pattern -  Software Engineering   👽 In the industry we have to use Design Patterns to develop systems. There are 3 types of design patterns. You can use below link to get an small idea about design patterns. https://miyurangika1223.blogspot.com/2024/09/design-patterns.html   In this blog we can discuss about Creational Design Pattern. Creational Design Patterns  Creational design patterns provide various object creation mechanisms where objects are create in a manner suitable for a given situation  It increases flexibility and reuse of existing code. Some creational  design patterns: Factory method design pattern It defines a method to create objects and lets subclasses decide the exact type of object to create. We use this pattern when we don't know in advance what type of object to create and subclasses might want to control object creation. Example: creating different types of notifications like SMS and Email. Abstract f...