by IshKebab · 3y ago · 0 comments
> As an industry, we do have the Unified Modeling Language (UML), ArchiMate and SysML, but asking whether these provide an effective way to communicate software architecture is often irrelevant because many teams have already thrown them out in favour of much simpler "boxes and lines" diagrams.
This is very true, but then they seem to have ignored the reasons why UML class diagrams were a total failure. They somehow acknowledge that nobody likes them, but then the 4th C of their model (code) is... UML class diagrams!
You don't need this. Just do ad-hoc diagrams and make them clear, with labelled arrows. Their first three diagrams are actually good examples of this.
I use Freeform now, which is super simple but works. Mark two objects and cmd-click/right click, then click "add connecting line".
Those diagrams that don't end up in presentations will be write-only anyway, and could be in any random format. No-one is going to read them.
To be fair it's still in its early of its time, I'll wait bit longer.
Just a couple of months ago I finalized yet another archictecture document, with enough class diagrams, sequence diagrams and use cases on it.
Now people straigth out of bootcamps calling themselves engineers, without having a Software Engineer degree, yeah maybe not.
Then again, they can get that book I just mentioned, and in the process maybe discover other goodies at the local library, or just ask ChatGPT.
I do not believe this for a second. You're possible arguing against a straw man.
The alternative to UML isn't a "NIH UML" which uses a different array of arrows. It's labelled boxes and lines. You don't need to go to a library to understand the diagram because the diagram is self-explanatory.
Here's a really good example:
https://buck2.build/docs/concepts/concept_map/
Every arrow is labelled. No tedious textbook needed.
A drawing showing the relationships between database tables seems to be comprehendible to people, until you get to over 7 tables or so, and then they don't appear to be able to make sense of it. Real databases often have magnitudes more tables than that.
You apparently have something you can do a trial with. Show it to people, give them time to digest, and politely quiz them a bit to see if it worked.
So if you need to piece together larger chunks of architecture, a supply chain for example, you basically have to redo it all. There is a lot of waste in this, and no one has a sufficiently clear view of the overall architecture, which leads to other waste and quality issues.
For some reasons most engineers get very defensive about a more formal approach, I suspect mostly because it doesn't immediately benefit them or they haven't had too deal with large scale architecture and don't see the problem.