UML is very powerful and is often used to express and record software designs. However, there may be no other descriptive tools for convenience in some aspects.
For example, when designing a state machine, I sometimes Use SDL (specification and Description Language.
The state machine diagram made by UML makes it easy for you to see which states are involved and which States are converted. But in fact, for state machines, there may be many things between state transitions, such as when there is a message interaction between N multi-state machines, it is difficult to express the many things that are done between State Transformations by using UML-based diagrams. With SDL, these tasks can be expressed in an orderly manner. The state machine from which the message comes from and to which the message is sent is clearly displayed.
Capture 2 images from the Internet and compare them:
UML state machine example (from http://commons.wikimedia.org/wiki/Image:UML_state_diagram.png ):
SDL state machine example (from q.704 ):
In fact, UML and SDL can be used in combination. To quickly let others know the states of the state machine you designed, use UML. If there are a lot of things to do between state conversion, You Can Use SDL to represent it, which greatly facilitates the subsequentCode.
-Qianli