Replies: 2 comments 4 replies
-
From my side the answer is... we inherited the project like this from the original author and continued the pattern. |
Beta Was this translation helpful? Give feedback.
4 replies
-
I cannot speak for the authors of those interfaces/classes, but in general this is done for reasons of Object-Oriented Design. Dependency Inversion and the Open/Closed Principle. High-level code should depend upon interfaces, not on low level code/classes (Dependency Inversion). That way, it is easier to extend functionality of a lower-level class (Open/Closed Principle). |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The question is in the title.
Beta Was this translation helpful? Give feedback.
All reactions