UML实用吗? [英] Is UML practical?

查看:63
本文介绍了UML实用吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在大学里,我有很多设计和 UML 面向课程,我认识到UML可以用于使软件项目受益,尤其是用例映射,但这真的可行吗?我已经完成了一些合作工作条款,而且看来UML在行业中并未得到广泛使用。在项目期间创建UML图值得吗?另外,我发现类图通常没有用,因为查看类的头文件只是更快。具体来说,哪些图表最有用?

In college I've had numerous design and UML oriented courses, and I recognize that UML can be used to benefit a software project, especially use-case mapping, but is it really practical? I've done a few co-op work terms, and it appears that UML is not used heavily in the industry. Is it worth the time during a project to create UML diagrams? Also, I find that class diagrams are generally not useful, because it's just faster to look at the header file for a class. Specifically which diagrams are the most useful?

编辑:我的经验仅限于10个以下的小型开发项目。

My experience is limited to small, under 10 developer projects.

编辑:许多好的答案,尽管不是最冗长的,但我相信所选的答案是最平衡的。

Many good answers, and though not the most verbose, I belive the one selected is the most balanced.

推荐答案

在足够复杂的系统中,有些地方认为某些 UML 有用。

In a sufficiently complex system there are some places where some UML is considered useful.

系统的有用图因适用性而异。

但使用最广泛的图是:

The useful diagrams for a system, vary by applicability.
But the most widely used ones are:


  • 类图

  • 状态图

  • 活动图

  • 序列图

  • Class Diagrams
  • State Diagrams
  • Activity Diagrams
  • Sequence Diagrams

有许多企业对他们发誓,许多人则完全拒绝他们,这是在浪费时间和精力。

There are many enterprises who swear by them and many who outright reject them as an utter waste of time and effort.

最好不要过度思考,认为最适合您所从事的项目,并选择适用且有意义的内容。

It's best not to go overboard and think what's best for the project you are on and pick the stuff that is applicable and makes sense.

这篇关于UML实用吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆