Solid principles

studied byStudied by 0 people
0.0(0)
Get a hint
Hint

SOLID principles

1 / 5

encourage image

There's no tags or description

Looks like no one added any tags here yet for you.

6 Terms

1

SOLID principles

These principles establish practices that lend to developing software with considerations for maintaining and extending as the project grows. Adopting these practices can also contribute to avoiding code smells, refactoring code, and Agile or Adaptive software development.

New cards
2

Single-Responsibility Principle

A class should have one and only one reason to change, meaning that a class should have only one job.

New cards
3

Open-Closed Principle

Objects or entities should be open for extension but closed for modification.

New cards
4

Liskov Substitution Principle

Let q(x) be a property provable about objects of x of type T. Then q(y) should be provable for objects y of type S where S is a subtype of T.

New cards
5

Interface Segregation Principle

A client should never be forced to implement an interface that it doesn’t use, or clients shouldn’t be forced to depend on methods they do not use.

New cards
6

Dependency Inversion Principle

Entities must depend on abstractions, not on concretions. It states that the high-level module must not depend on the low-level module, but they should depend on abstractions.

New cards

Explore top notes

note Note
studied byStudied by 45 people
... ago
5.0(1)
note Note
studied byStudied by 46 people
... ago
5.0(1)
note Note
studied byStudied by 2 people
... ago
5.0(1)
note Note
studied byStudied by 29 people
... ago
5.0(1)
note Note
studied byStudied by 70 people
... ago
5.0(1)
note Note
studied byStudied by 39 people
... ago
4.7(3)
note Note
studied byStudied by 23 people
... ago
5.0(2)
note Note
studied byStudied by 496 people
... ago
5.0(2)

Explore top flashcards

flashcards Flashcard (100)
studied byStudied by 27 people
... ago
5.0(1)
flashcards Flashcard (45)
studied byStudied by 14 people
... ago
5.0(1)
flashcards Flashcard (88)
studied byStudied by 6 people
... ago
5.0(1)
flashcards Flashcard (68)
studied byStudied by 40 people
... ago
5.0(1)
flashcards Flashcard (42)
studied byStudied by 2 people
... ago
5.0(1)
flashcards Flashcard (80)
studied byStudied by 1 person
... ago
5.0(1)
flashcards Flashcard (34)
studied byStudied by 1 person
... ago
5.0(1)
flashcards Flashcard (78)
studied byStudied by 64 people
... ago
5.0(1)
robot