TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: What Has Replaced UML?

14 点作者 arturkane7超过 2 年前

11 条评论

cybrexalpha超过 2 年前
Nothing. Because UML was pointless to begin with.<p>As a medium to describe systems it was harder to understand that just a flowchart, and less specific than just reading the code code. A useless halfway house.
评论 #33695264 未加载
AnimalMuppet超过 2 年前
What replaced flowcharts? Um, pretty much nothing. We just quit making flowcharts, and we found that we could get by just fine without them. (In fairness, when structured programming replaced goto-based programming, we didn&#x27;t need flowcharts nearly as often in order to keep track of what was going on.)<p>We mostly quit doing UML because for most people, most of the time, it mostly wasn&#x27;t worth it. It didn&#x27;t provide enough value to be worth the effort. So what replaced it was usually nothing.
dcminter超过 2 年前
On a related note - are there diagramming tools that let you draw (and write) freehand and then automatically neaten the diagram up?<p>I&#x27;m imagining something on an iPad or Android tablet that lets me just draw my usual boxes, circles, lines, terrible handwriting, and so on, and then I can punch a button and get it as a draw.io (or whatever) compatible diagram...?<p>The Newton handheld had some abilities along this line in the mid nineties so it seems like it shouldn&#x27;t be an impossible dream.
rickette超过 2 年前
Checkout the C4 model (<a href="https:&#x2F;&#x2F;c4model.com" rel="nofollow">https:&#x2F;&#x2F;c4model.com</a>) if you&#x27;re looking for a easy but detailed method to describe your software architecture. I my experience it works well in teams, you can let any dev contribute since there are only a handful of rules&#x2F;notations.
BerislavLopac超过 2 年前
The key problem with UML was that it was trying to work on a too low a level, essentially replacing code with diagrams, which didn&#x27;t really work. The only UML diagram that is still relevant today is the sequence diagram, because it has just the right balance between being too abstract and being too specific.<p>In my experience, the best approach in documenting software systems is the C4 model: <a href="https:&#x2F;&#x2F;c4model.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;c4model.com&#x2F;</a>
JoeMayoBot超过 2 年前
It&#x27;s been a while since I&#x27;ve done a class diagram, but I still use sequence diagrams to coordinate non-trivial component interactions. Occasionally, I&#x27;ll use a state diagram to describe workflow. More commonly, I&#x27;ve used ad-hoc network diagrams to describe the architecture of a system. I think flowcharts are still useful.
omgbear超过 2 年前
I use mermaid now because it&#x27;s embedded into markdown on gitlab.<p>Also powerpoint equivalents -- For more control over format and presentation.
kingkongjaffa超过 2 年前
Nicely specced TTD style tests can show and then also verify that things work as you might expect them to.<p>They can serve as example and documentation on how the architectural pieces fit together in a piece of software.<p>That plus high level, loosely specced diagrams can encapsulate most simple&#x2F;medium complexity apps.
maxbaines超过 2 年前
Interested to hear any answer, my opinion is nothing has. However I think this is a struggle of the domain UML solves, as I am not too sure UML ever established itself as a goto diagram&#x2F;modelling language?
SirChainsaw超过 2 年前
Maybe not a replacement, but mermaid-js is a happy middle ground for me.
revskill超过 2 年前
draw.io of course :)
评论 #33695229 未加载