Logo
Pattern

Discover published sets by community

Explore tens of thousands of sets crafted by our community.

SOLID Principles

5

Flashcards

0/5

Still learning
StarStarStarStar

I

StarStarStarStar

Interface Segregation Principle (ISP): No client should be forced to depend on methods it does not use.

StarStarStarStar

D

StarStarStarStar

Dependency Inversion Principle (DIP): High-level modules should not depend on low-level modules. Both should depend on abstractions. Additionally, abstractions should not depend on details; details should depend on abstractions.

StarStarStarStar

S

StarStarStarStar

Single Responsibility Principle (SRP): A class should have only one reason to change, meaning that a class should only have one job or responsibility.

StarStarStarStar

O

StarStarStarStar

Open/Closed Principle (OCP): Software entities (classes, modules, functions, etc.) should be open for extension, but closed for modification.

StarStarStarStar

L

StarStarStarStar

Liskov Substitution Principle (LSP): Objects in a program should be replaceable with instances of their subtypes without altering the correctness of that program.

Know
0
Still learning
Click to flip
Know
0
Logo

© Hypatia.Tech. 2024 All rights reserved.