SOLID Design Principles - Definitions

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/5

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

6 Terms

1
New cards

Interface Segregation Principle

Clients should not be forced to depend on interfaces they don't use, favoring many specific interfaces over one general-purpose interface

2
New cards

Single Reponsibility Principle

A module should only have one responsibility

3
New cards

Open/Closed Principle

Software should be open for extension, but closed for modification

4
New cards

Liskov Substitution Principle

Objects of a superclass should be replacable with objects of a subclass without affecting program correctness

5
New cards

Dependency Inversion Principle

6
New cards

Law of Demeter

A method should only call methods of its own object, objects passed as parameters, objects it creates, or objects in instance variables, avoiding "train wreck" chains of method calls.