TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: Is Unified Modeling Language (UML) still a thing these days?

12 pointsby cbrgmover 2 years ago
I spent many years at university and was always confronted with UML diagrams. My professors and teachers were always quite conservative and we often had to draw UML diagrams (class diagrams, component diagrams, sequence diagrams, etc. ...) for every program we wrote or architecture we designed.<p>In the last jobs I worked, this was somehow never a thing. I don&#x27;t mean that there was no documentation at all regarding the given software architecture or components and interfaces, but if there was, it was rather informal. If there were diagrams, then loosely drawn with draw.io or some icons and arrows that are supposed to somehow represent the services and relationships from various cloud providers.<p>Therefore my question is: Is UML still a thing nowadays or is it just too formal? Is it used in your current job?

16 comments

cratermoonover 2 years ago
This is based on my experience across a variety of startups and small internet-focused companies. YMMV.<p>Some UML diagrams are useful, but only a small subset of the entirety of UML, and never very formally. Sequence diagrams and class diagrams are especially common. Also, UML officially is very specific about the details of each diagram, but rarely do the details matter very much. The subset supported by PlantUML seems to be plenty. Some of the diagram<p>Get a copy of Fowler &amp; Scott&#x27;s UML Distilled and that&#x27;s as much as you&#x27;ll ever need to know.
ReflectedImageover 2 years ago
The research group I was in when I did my PhD focused on modelling. This was 7 years ago and back then UML was considered to be dead. It&#x27;s all moved on to Domain Specific Modelling Languages (DSMLs). Who&#x27;s using DSMLs you might ask? Your car manufacturer is using them for writing the software for your engine. They draw out a diagram and both the code and safety cases they need to submit to the regulators are auto generated.
PaulHouleover 2 years ago
I am a volunteer working on the ISO 20022 standard and we use Ecore, an object modelling system that was designed to bootstrap UML, to represent financial messages.<p>I developed a toolset for working with Ecore that was adequate for what I needed to do. I took a crack at bootstrapping UML 2 but I found there were &quot;chicken an egg&quot; problems that I figured would take me a month to resolve, probably some important objects would have to be duplicated but then hidden from the upper layers.<p>(Resolving &quot;chicken and egg&quot; problems is something I do very well but I&#x27;ve been burned by spending a month working on something I felt uniquely inspired to do and then spending much more than a month trying to sell it and finding nobody gives a damn.)<p>UML has a fascinating vision which parallels the W3C&#x27;s vision of the the semantic web, particularly &quot;executable UML&quot; ought to be possible, but it is held back by vendors who thrive on almost-functional standards that require proprietary additions to really work.
none_to_remainover 2 years ago
A few weeks back I had occasion to read some SCTE (cable TV + descendents) signalling specifications, and I was tickled because they used enough UML that I had to actually go look up what the different arrows meant.<p>Other than that, don&#x27;t think I&#x27;ve seen formal UML, just informal diagrams with boxes, arrows, and icons.
guilhasover 2 years ago
I would say most of the industry just &quot;wants to get it done&quot;, everyone is really confused, lack of communication, no time to design, customers changing project direction fast. Requirements&#x2F;design&#x2F;diagrams are replaced with tasks in Jira because that is &quot;agile&quot;<p>I would say if it is a new project it&#x27;s useful to do some UML diagrams to get through discussions. But after the first milestones it is impossible to keep diagrams updated in sync with code, they normally just get left behind<p>For the reasons above anything with arrows works, it does not need to be UML, but it is a useful to know, making diagrams that present all in a useful way is hard and all knowledge and thinking is welcome<p>My current company we just have a designer doing&#x2F;updating wireframe&#x2F;mockups after meeting which then we discuss
_tom_over 2 years ago
It is almost never used. People draw occasional diagrams, but that&#x27;s it.
MonkeyMalarkyover 2 years ago
Class diagrams are way too fine grained to bother with and most IDEs have good enough tools for exploring large code bases. Service architecture diagrams and message sequence charts are super helpful. Especially for communicating with other teams and for making design proposals. I wouldn&#x27;t be able to get traction on a new project without them, people really need pictures to see how something that doesn&#x27;t exist yet will fit together with existing components.
0xbadcafebeeover 2 years ago
It&#x27;s a thing for architects, and sometimes product owners. Regular-old programmers could care less what they build or how or if it will work; they&#x27;d rather write code randomly than model. The Agile paradigm dictates that those regular-old programmers control the work, so most work today doesn&#x27;t use rigor. If you&#x27;re lucky you&#x27;ll run into people using C4 diagrams and ADRs, but more frequently &quot;big ball of mud&quot; diagrams.
pydryover 2 years ago
UML&#x27;s problem is not really that it&#x27;s too formal but that it&#x27;s usually too detailed, too vague or too out of sync with the real system to be useful.<p>It was also heavily associated with Big Design Up Front, which has been more or less trashed in favor of agile &#x2F; iterative improvements &#x2F; spikes &#x2F; whatever you want to call it.<p>PlantUML still seems to be a thing, although perhaps more for general diagramming.
yen223over 2 years ago
My experience matches yours. We draw diagrams all the time to explain systems, but we rarely use UML to do it.<p>If you think about it, the point of using diagrams is to simplify an explanation. Making explainers and listeners learn a formal language just to understand diagrams defeats this purpose.
rehevkor5over 2 years ago
Sequence diagrams can be a very useful tool for understanding things.
pid-1over 2 years ago
Before reading this post I didn&#x27;t even remember UML existed.
olddustytrailover 2 years ago
Still used for solving mazes I believe: <a href="https:&#x2F;&#x2F;youtu.be&#x2F;v2uAipnt2nw" rel="nofollow">https:&#x2F;&#x2F;youtu.be&#x2F;v2uAipnt2nw</a>
bjourneover 2 years ago
Ah, no. Though I&#x27;ve occasionally found auto-generated db schema diagrams useful, I&#x27;ve never had any practical use for UML diagrams.
quuxover 2 years ago
The only UML diagram that seems to survive is sequence diagrams, which are actually very useful and well designed
cr3ativeover 2 years ago
No, and it’s bizarre they still teach it.