OOD

SOLID Principles - Interface Segregation Principle

The fourth of the SOLID Principles to cover is the letter I which is the Interface Segregation Principle (ISP). What is the Interface Segregation Principle (ISP)? The Interface Segregation Principle (ISP) states that “Clients should not be forced to depend upon interfaces that they do not use".

SOLID Principles - Liskov Substitution Principle

The third of the SOLID Principles to cover is the letter L which is the Liskov Substitution Principle (LSP). What is the Liskov Substitution Principle (LSP)? The Liskov Substitution Principle (LSP) states that “Derived classes must be substitutable for their base classes".

SOLID Principles - Open-Closed Principle

The second of the SOLID Principles to cover is the letter O which is the Open-Closed Principle (OCP). What is the Open-Closed Principle (OCP)? The Open-Closed Principle (OCP) states that “You should be able to extend a classes behavior, without modifying".

SOLID Principles - Single Responsibility Principle

The first of the SOLID Principles to cover is the letter S which is the Single Responsibility Principle (SRP). What is the Single Responsibility Principle (SRP)? The Single Responsibility Principle (SRP) states that “A class should have one, and only one, reason to change.

SOLID Principles - Five Principles of Object-Oriented Programming and Design

This is the first of what will be a series of posts on each of The SOLID Principles. Before we go into details lets look at an overview of the principles.