Why is it important that all component interactions are defined through ‘requires’ and ‘provides’ interfaces?
What will be an ideal response?
It is important to define all interactions through requires and provides interfaces so
that the use of the component is completely independent of its implementation. If
component interactions use some knowledge of the components that is not defined
in the requires/provides interfaces then the coupling between the components is
increased and it is harder to interchange one component for an equivalent
component with the same interfaces.
Computer Science & Information Technology