3 ms·
UML is best when used informally. I find that some bits and pieces, like class and sequence diagrams, are useful for sketching ideas and communicating them. Bu
by felipeerias 11y ago
UML is best when used informally. I find that some bits and pieces, like class and sequence diagrams, are useful for sketching ideas and communicating them.
But of course, that is exactly the opposite of what UML set out to achieve: a system so formal and complete that it could be used to generate code automatically.
- narag 11y agoI totally agree with picking bits and pieces. My favs were the state diagrams. I remember a couple of times when they saved the day. It was a matter of communication with the customers, a way to show them that their initial description was light years from a real specification and make them commit with the agreed diagram. Believe it or not, the customers understood it perfectly, after some minutes drawing and deleting lines. There was never a single complaint about that module and only minor bugs, not affecting to the functionality. I hated use cases diagrams, only useful for CYA purposes. The classes diagrams that I've seen in the wild were E/R models translated to UML, but they were the most part of documentation for some projects, so it was better than nothing. The traceability systems from requirements to complete UML diagrams to code were a bunch of good intentions that fortunately never materialized.
- ArkyBeagle 11y agoThings like that existed. But the world yawned.