News for hackers. Stuff that matters.
Re:UML: My Part in Its Downfall by lisper on Tuesday October 04, 2022 @03:36PM (#33085585)
> With a only text I would find that much harder to communicate.

And yet you just did it:

"This depends on that, this calls that, and then calls that external system via this interface..."

I really don't see the salient difference between

    this depends on that
and

    this <-- that
(Or is it this --> that? Or this --<> that? this --<>* that? I can never remember.)
Re:UML: My Part in Its Downfall by zmgsabst on Tuesday October 04, 2022 @03:51PM (#33085790)
In my experience, the difference comes when you have many relationships which are organized into higher order relationships (eg, subsystems).

English is linear in a way diagrams are not.

Re:UML: My Part in Its Downfall by lisper on Tuesday October 04, 2022 @03:56PM (#33085857)
"Text" != "English". Text in general need not be linear, e.g.:

    System1
      sub-system1a
      sub-system1b
    System2
      sub-system2a
      sub-system2b
(This is the reason indentation in programming languages is a thing.)
Re:UML: My Part in Its Downfall by rini17 on Wednesday October 05, 2022 @06:42AM (#33093658)
But trees are trivially linarizable. What will you do when you need to describe a graph, when there's some direct relationships between sub-systems?

(Yes most programming languages use trees, it has some advantages. But most people program in excel anyway.)

Re:UML: My Part in Its Downfall by dragonwriter on Wednesday October 05, 2022 @01:31PM (#33098585)
> But trees are trivially linarizable. What will you do when you need to describe a graph, when there's some direct relationships between sub-systems?

Graphs are reducible to lists of nodes and edges which are very linearizable.

That may not be the most useful form for comprehension, but linear forms are quite good for writing and storing. Visual notation is useful for presentation here, but IME quality is much lower in drawn diagrams than rendered-from-linearly-authored-text diagrams, which explains why most of my diagramming is done in a text editor (e.g., in Markdown+Mermaid) with visual preview.

Re:UML: My Part in Its Downfall by lisper on Wednesday October 05, 2022 @12:57PM (#33098109)
> What will you do when you need to describe a graph

What will you do when you need to describe a graph with (say) more than a thousand nodes? I hope you won't try to draw a picture of it.

Re:UML: My Part in Its Downfall by rini17 on Wednesday October 05, 2022 @02:46PM (#33099651)
Why not? Feeding it to graphviz is one of the viable avenues of attack.
Re:UML: My Part in Its Downfall by lisper on Wednesday October 05, 2022 @03:38PM (#33100323)
And what exactly is the "it" that you "feed to graphviz"?

Creating a graphical rendering of data is not what I was referring to when I spoke of drawing a picture. What I meant was actually drawing, i.e. using MacDraw or PowerPoint or a pencil and paper and drawing. Because that is what people mostly do when they use UML.

Re:UML: My Part in Its Downfall by rini17 on Thursday October 06, 2022 @02:24AM (#33105036)
Electrical circuits were mentioned and yes they are usually designed by drawing AFAIK, even with over 1000 nodes. What's the argument here?
Re:UML: My Part in Its Downfall by lisper on Thursday October 06, 2022 @02:33AM (#33105093)
> they are usually designed by drawing AFAIK

I work at Intel, so I can tell you with some authority that you are mistaken.