UML 是 Unified Modeling Language(统一建模语言) 的缩写,一套用于可视化、描述、设计与记录软件系统的标准图形表示法,常见于面向对象分析与设计(如类图、用例图、时序图等)。在软件工程语境中最常用;在少数场景下也可能指其他缩写,但通常默认指“统一建模语言”。
/ˌjuː ɛm ˈɛl/
UML helps teams communicate a system’s design.
UML 能帮助团队沟通系统的设计。
Before writing code, the architect created UML sequence and class diagrams to clarify responsibilities, reduce ambiguity, and make the review easier for both developers and stakeholders.
在编写代码之前,架构师先画了 UML 的时序图和类图,以明确职责、减少歧义,并让开发者与相关方的评审更顺畅。
UML 来自缩写 Unified Modeling Language。它在 1990 年代由多位软件方法学专家推动整合(常被称为“三个朋友”),旨在把当时分散的面向对象建模方法统一成一套通用标准,后来由行业组织推动标准化并广泛传播。