时效性
本篇撰写时间为2021.11.9,由于计算机技术日新月异,博客中所有内容都有时效和版本限制,具体做法不一定总行得通,链接可能改动失效,各种软件的用法可能有修改。但是其中透露的思想往往是值得学习的。
Windows 10家庭中文版,版本20H2,操作系统内部版本19042.1288
UML
UML是Unified Modeling Language的简称
https://en.wikipedia.org/wiki/Unified_Modeling_Language
(可能需梯子)
The Unified Modeling Language (UML) is a general-purpose, developmental, modeling language in the field of software engineering that is intended to provide a standard way to visualize the design of a system.
In 1997, UML was adopted as a standard by the Object Management Group (OMG), and has been managed by this organization ever since. In 2005, UML was also published by the International Organization for Standardization (ISO) as an approved ISO standard. Since then the standard has been periodically revised to cover the latest revision of UML. In software engineering, most practitioners do not use UML, but instead produce informal hand drawn diagrams; these diagrams, however, often include elements from UML.
可以理解为OMG(Object Management Group)是一个致力于标准化的联合体,ISO(International Organization for Standarization, 国际标准化组织)是更大的标准化组织。UML是一种标准,被OMG adopt,然后又被ISO approve了。
软件工程师即使不画完全标准的UML图,也会在草图中体现相关元素。一些书籍(如著名的Head First Design Patterns)也会采用正式或不正式的UML帮助读者理解。
时效性:UML目前最新版本如图所示
UML类图
UML图有许多种,分别适用于不同的软件开发场景。
本篇中我们主要关注UML类图。
https://en.wikipedia.org/wiki/Class_diagram
(可能