News for hackers. Stuff that matters.
Re:Why UML “Really” Died by cratermoon on Tuesday April 27, 2021 @12:18PM (#26957988)
This discussion and the one it references, previously on HN[1] conflate UML the diagram syntax (which remains useful) with UML as visual CASE tool. The latter never really lived, any more than any other "programming without writing code!" tool lived.

The former is alive and well, after shedding a lot of the fiddly details and requirements that the bits of the diagram be expressed in low-level details. Case in point: association vs aggregation vs. composition in class diagrams. All three express a similar idea by having a line joining the two classes: this class and this other class work together. But for aggregation and composition, one end of the line is supposed to have a diamond. Which end? Should the diamond be open or closed? What about multiplicity? Which end of the line has the number? It depends, sometimes both.

But all that detail, while sometimes useful to people looking at the diagram, really only matters for the benighted folks who try to make their UML diagrams input into code generators.

Forget "UML is dying", accept that CASE tools will never be more than fancy and fiddly code generators, and use the general ideas around diagramming, including some UML syntax, as a way to communicate among team members and stakeholders who are sufficiently technical.

1. https://news.ycombinator.com/item?id=26934577

p.s. Don't use quotation marks for emphasis. Ever. It's wrong.

Re:Why UML “Really” Died by krasicki on Tuesday April 27, 2021 @12:59PM (#26958549)
I think there's an important distinction to be made as to the "goal" not of CASE tools but of iconic notation.

Iconic notations exist to describe all manner and form of reality and technical specification.

The first "goal" of UML was to eliminate and consolidate the free-range software development notations. And that was something that could have turned into something useful.

UML's attention turned to code generation and no-code paradigms that will take generations of refinement to ever be useful in complex environments. Diagramming notations were contorted to serve the goal of code generation instead of programmer utility.

The consequence was that programmers were denied anything personally useful about UML and instead were saddled with a soul-sucking, task master of a tool that never fulfilled the business community's no-code expectations. The kicker was that now the development staff needed to untangle the no-code, generated code to make it work. What's to like?

Re:Why UML “Really” Died by cratermoon on Tuesday April 27, 2021 @02:43PM (#26959811)
You've pinpointed what sent UML off the rails. CASE tools were going through one of their hype phases about the same time UML was getting attention. The CASE people latched on to UML as the notation that would enable automatic code generation and round-tripping, and that led to the contortions you mention.

We still have diagramming tools that create and work with the useful parts of UML in reasonable ways, we just needed to jettison the no-code weight that was dragging the notation into dead ends.

Re:Why UML “Really” Died by ahelwer on Tuesday April 27, 2021 @12:19PM (#26958008)
I think the author addressed this?

> The other ambiguity is what we mean by UML. First of all, UML consists of over a dozen different diagram types. I still see people regularly use sequence diagrams. Second, there’s many different ways people use UML diagrams. Martin Fowler, a prominent figure in both the UML and Agile worlds, identifies three types of uses: sketching, blueprinting, and programming.

Then they talk explicitly about blueprinting.

Re:Why UML “Really” Died by cratermoon on Tuesday April 27, 2021 @12:25PM (#26958097)
Yup, and the only UML book I ever bought and used, UML Distilled, was written by Fowler and Kendall Scott. It's a slim book, and notably says little to nothing about UML as a CASE tool. There's definitely nothing about any specific program for generating code, and not much about generating diagrams from code, either.
Re:Why UML “Really” Died by dragonwriter on Tuesday April 27, 2021 @12:56PM (#26958519)
> UML the diagram syntax (which remains useful)

It may be useful, but aside from sequence diagrams I rarely see anyone using it; its not just CASE that has died but the wider field of systematic analysis and modeling has declined in relative importance. Not having a good model of how it fits into short-iteration development workflows that eschew big upfront design seems to be the main cause.

And for what remains of that space, there are newer tools occupying some of it.