您是否使用 UML 图来帮助您的开发过程?

发布于 2024-07-11 15:33:17 字数 230 浏览 8 评论 0原文

那么 Stackoverflow 用于文档和/或与开发人员沟通的 UML 图(如果有的话)是什么?

在我看来,Stackoverflow 是原创的,同时也提供了丰富的用户体验。

只是想知道需要什么(什么有帮助)才能将一个伟大的想法变成现实生活? 我只是一名即将毕业的学生,​​正在向前辈寻求建议/经验/建议/例子。

我想知道这些图表对现实生活有多大帮助以及多少卷(图表)......

So what are the UML diagrams (if any) Stackoverflow has been using for documentation and/or for communication with developers?

From what I see, Stackoverflow is something original that also provides rich user experience.

Just wondering what does it take (what helps) to realize a great thought into real life? I`m just a student graduating seeking for advice/experience/suggestions/examples from senieors.

How much these diagrams help in real life and in what volume (the diagrams), I wonder...

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

鯉魚旗 2024-07-18 15:33:17

UML 是一种“标准”定义的通信方式。 明确定义可以消除使用其他方法时可能存在的歧义。

话虽如此,我不会在我的团队中使用它们。 我发现进行正确的 UML 的开销太高了。

由于我在一个小团队(大约 5 人)中工作,并且在同一地点工作,因此我们经常坐下来讨论并绘制图表。 如果我们需要引用这些图表,我们将扫描它们并将它们发布到存储库以供以后参考。

UML 对于沟通不畅且可能不在同一地点的团队可能更有利。

UML is a "standard" defined way to communicate something. Being well defined it removes ambiguities that may exist when using other methods.

Having said that I don't use them with my team. I find that the overhead in doing proper UML is too high.

Since I work in a small team (about 5 people) that works in the same location, we'll often sit down and sketch diagrams in discussions. If we need to reference these diagrams, we'll scan them and post them to a repository for later reference.

UML is probably more beneficial in teams that don't communicate well, and may not be co-located.

愁杀 2024-07-18 15:33:17

我真的希望我所有的同事都能正确阅读 UML 图; 它已经成为一种谈论面向对象设计的通用语言。

在大型设计时代,我们制作了大量模型并将其放入大型活页夹中。 特别是序列图对于详细设计来说非常有用。 这些活页夹在某些架子上看起来确实令人印象深刻,但事实证明,这些模型的大部分价值都在制作它们的过程中,

所以现在我们大多只是在白板上画出盒子,盒子之间有线条。 但无论何时我们为了精确而诉诸显式符号,它总是 UML。 通常,如果它们看起来值得保留,我们就会用手机拍摄它们。 有时我们只是把它们留在白板上,因为如果它们在那里呆几天,它们就会烧到白板上;) [而且你必须特别敢于使用有臭味的强力清洁剂]

I really expect all my co-workers to be able to read a UML diagram properly; it's become a kind of universal language for speaking about OO designs.

Back in the days of big design we made tons of models that we put in big binders. Especially sequence diagrams were really nice for detailed designs. These binders would look really impressive on some shelf, but it turned out most of the value in these models are in the process of making them

So now we mostly just draw boxes with lines between them on whiteboards. But whenever we resort to explicit notations to be precise, it's always UML. Usually we photograph them with our phone if they seem like they're worth keeping. Sometimes we just leave them on the whiteboard because they kind-of burn into the whiteboard if they stay there for some days ;) [And you have to be especially daring to use the smelly strong cleaner]

ζ澈沫 2024-07-18 15:33:17

我在 Inc 杂志上读到了一篇关于该网站的文章,这就是我发现它的原因。 显然,很少遵循正式程序。 基本上,做这件事的人都非常好。 我的钱也花在没有 UML 上。 我想知道他们是否使用OO?

I read an article in Inc Magazine about this site, which is how I found out about it. Apparently very little formal process was followed. Basically, the guys who did it were just really good. My money is also on no UML. I wonder if they use OO?

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文