A good approach when when developing software, class interactions are described only with interfaces? If so, should I always use this approach?
I need to create a class library that should have a high test ability (I use C #).
This library has one facade and a number of classes with various interactions in the background.
In the case of optimizing this library for a good check, I replaced most of my classes with interfaces.
And when I did this, I saw only interfaces on the connection diagram (Visual Studio class diagram).
Is this a normal solution to my problem? or should there be some other approach?
P / S: Perhaps this is a well-known way of developing software, but I cannot find confirmation in the books that I have.
source
share