Sequence diagrams describe a specific scenario and not all the interactions that happen between the objects that form a system.
When we draw a sequence diagram, we represent a snapshot of a given part of the live, working system. Instead of having a huge sequence diagram describing every interaction between the objects, we create several targeted ones.
It’s like performing a cardiac CT-scan instead of scanning the entire body. If we’re only interested in the heart and its blood vessels, why should we examine the entire body?
If you want to find out more about UML and object-orientation, check out my UML and Object-Oriented Design Foundation course.
The following link gives you the best price I can offer: https://www.udemy.com/course/uml-and-object-oriented-design-foundations/?couponCode=451AABBEA63E432173D7
Offer expires on March 21, 2020.
#cleancode #oop #uml #ood