Liskov substitution principle is named after Barbara Liskov, a computer scientist who first formulated the principle in 1987. It is one of the five SOLID principles of object-oriented design, which are widely used guidelines for writing clean and maintainable code. The Liskov substitution principle is a concept in object-oriented programming that states that if a […]
Dependency inversion principle(DIP) in SOLID Design
The Dependency Inversion Principle (DIP) is a software design principle in object-oriented programming that states that high-level modules or classes should not depend on low-level modules or classes. Instead, both should depend on abstractions or interfaces. In simpler terms, the DIP suggests that the way you design your software should not depend on the details […]
What is the Open Closed Principle in SOLID Design Principles?
In this article, we will see the open closed principle, one of the SOLID design principles, in detail. Open-Closed Design Principle (OCP) The Open-Closed Design Principle (OCP) is a software development principle that states that software entities should be open for extension but closed for modification. That means, software should be designed in a way […]
What is the Difference Between Database Partitioning and Sharding?
Both database partitioning and sharding are techniques used to break down a large database into smaller, more manageable pieces. However, there are some key differences between the two. they are Summary In this article, we saw the difference between partitioning and sharding in the database. Database partitioning and sharding are both techniques used to improve […]
What is Sharding in Database Partitioning?
In this post, we will see what is Sharding in a database. Sharding in Database Sharding is a database partitioning technique that involves breaking up a large database into smaller, more manageable parts called shards. Each shard contains a subset of the data, and together, they make up the complete dataset. The idea behind sharding […]
Difference Between Const and ReadOnly in C#
In C#, const is a keyword that declares a constant value that is computed at compile-time and can never be changed while readonly is a keyword that declares a value that can be assigned only once and can be determined at run-time. while readonly s a keyword that declares a value that can be assigned only once and can be determined at run-time.