System Design Strategy Design Pattern in Software Design [Java] The Strategy Pattern is a behavioral design pattern that falls under the Gang of Four's (GoF) design patterns. It provides a systematic way to define a family of algorithms, encapsulate each algorithm, and make them interchangeable.
Software Engineering Understanding Singleton Design Pattern in C++ with 4 techniques Singleton pattern in C++ is a design pattern which prevents multiple objects of a class to exist. This is a very useful and widely used design pattern
Software Engineering Null Object Design Pattern in C++ Null object pattern is a design pattern that simplifies the use of dependencies that can be undefined. This is achieved by using instances of a concrete class that implements a known interface, instead of null references.
Software Engineering Understanding Observer Pattern in C++ in depth The Observer Pattern is a design pattern where changes in one object can be notified to other objects. This is important as with this, we can use objects that have dependency
Software Engineering Understanding Abstract Factory Pattern in C++ with an example Abstract factory pattern provides a framework that allows to create objects that follows a pattern. So at runtime, abstract factory is coupled with any desired factory which can create objects of desired type.
C++ Builder Pattern in C++ Builder pattern in C++ aims to “Separate the construction of a complex object from its representation so that the same construction process can create different representations.” It is used to construct a complex object step by step and the final step will return the object.
C++ Factory Pattern in C++ Factory method also known as a static class is a creational design pattern, i.e. it is related to object creation. In this we create object without exposing the creation logic to client and the client use the same common interface to create new type of object. Idea is to use a static member function