Skip to content

Design Patterns

dotnet core

How to use the Strategy Pattern in C#

The strategy design pattern splits the behavior (there are many behaviors) of a class from the class itself. This has some advantages, but the main draw back is that a client must understand how the Strategies differ.

dotnet core

The Mediator Pattern

Mediator pattern is used to reduce communication complexity between multiple objects or classes. The pattern provides a mediator class which handles all the communications between different classes and supports easy maintenance of the code by loose coupling.

dotnet core

The Prototype Design Pattern C# .net core

The Prototype Design Pattern is one of the Creational Design Patterns defined by the Gang Of Four (GOF) published their book Design Patterns: Elements of Reusable Object-Oriented Software in which they presented a catalog of simple and succinct solutions to commonly occurring design problems.

Book Review: A Philosophy of Software Design

This book discusses how to decompose complex software systems into modules that can be implemented relatively independently. The discussion first begins with fundamental problem in software design, managing complexity.

What is Clean Code

What is Clean Code ?

Clean code and the practices are about eliminating or at least attempting to reduce complexity. Although clean code solutions may seem elegant and efficient, they are not always easy and are often the direct result of combating complexity!