NOTE

Object-Oriented Design Principles

What object-oriented design principles are, why they are needed, and the main principles covered by these notes.

Software Architecture & EngineeringCreated Updated 1 min readhistorical

This is a historical learning note and may contain outdated or incomplete understanding.

1. What Are Object-Oriented Design Principles?

2. Why Are Object-Oriented Design Principles Needed?

Improve code maintainability, extensibility, and reusability.

3. Categories of Object-Oriented Design Principles

3.1. Open–Closed Principle

Open–Closed Principle.md

3.2. Liskov Substitution Principle

Liskov Substitution Principle.md

3.3. Composition Reuse Principle

Composition Reuse Principle.md

3.4. Interface Segregation Principle

Interface Segregation Principle.md

3.5. Single Responsibility Principle

Single Responsibility Principle.md

3.6. Dependency Inversion Principle

Dependency Inversion Principle.md

3.7. Law of Demeter

Law of Demeter.md

4. References

Discussion

Sign in with GitHub to comment. Discussions are stored as GitHub Issues.View on GitHub