Design Principles
The Singleton Design …
Hey! In this blog post, we’ll explore the Singleton pattern with a special emphasis on its implementation in C# for managing database connections. What’s the Singleton Design Principle? The Singleton pattern is a creational design pattern and restricts the instantiation of a class to a …
Interface Segregation …
The Interface Segregation Principle (ISP) is one of the five principles of SOLID, a set of guidelines for writing maintainable and scalable software in object-oriented programming. In this blog post, we will take a look at the Interface Segregation Principle in depth, specifically in the context of …
The Liskov Substitution …
The Liskov Substitution Principle (LSP) is one of the five principles of object-oriented programming and design known as SOLID. It was introduced by Barbara Liskov in 1987 and says that objects of a superclass should be able to be replaced by objects of a subclass without affecting the correctness …
The Open-Closed Principle …
The Open-Closed Principle (OCP) is one of the five principles of object-oriented programming and design known as SOLID. It states that software entities (classes, modules, functions, etc.) should be open for extension but closed for modification. In this blog post, we will take a look into the …
The Single Responsibility …
The Single Responsibility Principle (SRP) is one of the five principles of object-oriented programming and design known as SOLID. In this blog post, we will take a look into the SRP, its benefits, and its implementation in C#. What is the Single Responsibility Principle? The Single Responsibility …