News for hackers. Stuff that matters.
Re:Sequence diagrams, the only good thing UML brought to sof... by doctor_eval on Thursday June 15, 2023 @05:32PM (#36346801)
I can’t remember where I read this (Martin Fowler maybe?), but I agree that “box and line” diagrams should be enough for most design cases.

I was eager to use UML when it came out but I agree with the article, the only thing I kept was sequence diagrams. Most of the rest of it was just a complicated way to represent stuff that is best represented in code or plain documentation.

I’m also not afraid to use stuff that’s out of fashion. I use simplified ER diagrams, and even flow charts on occasion.

But the tool I use most often in design is SQL DDL…

Re:Sequence diagrams, the only good thing UML brought to sof... by ozim on Thursday June 15, 2023 @06:31PM (#36347607)
I like use case diagrams as well. Thing is these should be short lived and used to make specific illustration in specific time. Not some holy grail of documentation that people should take as some god given truth for whole life of the system.
Re:Sequence diagrams, the only good thing UML brought to sof... by doctor_eval on Thursday June 15, 2023 @07:46PM (#36348692)
Yeah, I posted elsewhere in this thread that I'm a big fan of Jack Reeves' essays on "code as design"; namely, that the code is what's important, and the design is just scaffolding.

"The following essays by Jack W. Reeves offer three perspectives on a single theme, namely that programming is fundamentally a design activity and that the only final and true representation of "the design" is the source code itself. This simple assertion gives rise to a rich discussion—one which Reeves explores fully in these three essays."

https://www.developerdotstar.com/mag/articles/reeves_design_...

Re:Sequence diagrams, the only good thing UML brought to sof... by macdaknife on Saturday June 17, 2023 @10:49AM (#36370666)
Yes, actors and actions. It's the crux of the use case. I'm still operating under the assumption that UML invented the modern use case. I will not be googling this next.