master #12

Merged
waldek merged 8 commits from :master into master 2022-05-10 16:59:08 +02:00
1 changed files with 3 additions and 0 deletions
Showing only changes of commit 9a09ff821f - Show all commits

View File

@ -336,3 +336,6 @@ You have to create a new mother class for these two classes like the preceding e
This convention says that all classes that we use depends on the interface or abstract classes. This convention says that all classes that we use depends on the interface or abstract classes.
Like precedents example, all methods was abstracts. Like precedents example, all methods was abstracts.
>The Dependency Inversion principle states that our classes should depend upon interfaces or abstract classes instead of concrete classes and functions.
>We want our classes to be open to extension, so we have reorganized our dependencies to depend on interfaces instead of concrete classes.