We don’t allow questions seeking recommendations for software libraries, tutorials, tools, books, or other off-site resources. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(3)
是的。流程图。
Yes. Flowcharts.
您可以使用 PSD(流程结构图)或 NSD(Nassi Schneiderman 图)。在深入研究 OO 和 Java 之前,我必须在第一堂编程课中学习它。它不像 UML 那样涵盖不同的方面,但它是可视化过程程序的起点。
You could use PSD(process structure diagrams) or NSD (Nassi Schneiderman Diagrams). I had to learn it for my first lessons of programming, before diving into OO and Java. It doesn't cover different aspects as UML, but it's starting point to visualize a procedural program.
请记住 UML 代表统一建模语言。它不仅仅用于对对象关系进行建模,我认为这是对 UML 的常见误解。它还可用于状态图、业务流程、数据库模式……请参阅:http:// en.wikipedia.org/wiki/Unified_Modeling_Language。
我最近使用 IBM 的 Rational Software Architect 将状态图转换为 Perl。但对于 Perl,我们必须编写自己的翻译文件,因为 Architect 没有为 Perl 包含它们。
但如果您谈论的是 C 代码,Architect 有一个内置功能,可以将编写的代码逆向工程为 UML 图。我已经在 Java 中使用了该功能,它运行得很好并创建了一个对象图。我之前没有用过C语言,所以我不知道它是否会将其变成序列图、活动图或状态图。
您可以下载 Software Architect 的试用版,看看它是否适用于您的代码。
Remember what UML stands for Unified Modeling Language. It's not just for modeling Object Relations, which I believe is a common misconception of UML. It can also be used for state diagrams, business processes, database schemas, ... See : http://en.wikipedia.org/wiki/Unified_Modeling_Language .
I recently used IBM's Rational Software Architect to convert State Diagrams into Perl. But for Perl we had to write our own translation files since Architect didn't include them for Perl.
But if you are talking about C code, Architect has a built in feature to reverse engineer written code into a UML diagram. I've used that feature for Java and it works pretty well and creates a Object Diagram. I haven't used it for C before, so I don't know if it will turn it into a Sequence, Activity or State Diagram.
You can download the trial version of Software Architect and see if it works for your code.