Live data from Hacker News

Ask HN: Is UML still relevant today?

news.ycombinator.com

11–20 of 69 posts

Re: Ask HN: Is UML still relevant today?

#11

No. Proof: http://www.google.co.uk/trends/explore#q=%2Fm%2F07x3g&cmpt=q Interesting though, Grady Booch - the man who wrote the Ada text book I had to learn for university - is behind UML. Glad it failed.

That is not exactly an accurate portrayal.

For instance add object oriented or test driven development: http://www.google.com/trends/explore#q=%2Fm%2F07x3g%2C%20%2F...

I would say that it's much more likely that UML is just one of the many tools that developers use, it just isn't generating any "buzz"

Re: Ask HN: Is UML still relevant today?

#12
Yes,it helps communicate ideas between engineers and is not bound to any paradigm. UML can even be a great tool to communicate between devs and non devs.I ask my clients to draw actor diagrams all the time. It's often better than a long paragraph of text.

I'm not sure how any big team can work without using some UML diagram of some sort. SCRUM boards dont help writing code.

Re: Ask HN: Is UML still relevant today?

#13
post #4

If you learn only one diagram from UML, take the time to understand and use Sequence Diagrams [1]. Being able to break down an interaction into a sequence diagram (especially between 2 or 3 servers) is a powerful thought tool for specifying interactions and its easy for people to understand. [1] http://en.wikipedia.org/wiki/Sequence_diagram

I've always written off UML, but that is a sublimely useful notation. Thanks for sharing.

Re: Ask HN: Is UML still relevant today?

#14
UML is pretty lousy as a formal design language, but it's about the best we have. It's a pretty good communication tool though and a pretty good tool for documenting an existing system for later reference. Not all of the diagram types are equally useful, some are better than others. Sequence diagrams are really useful for example, but use-case diagrams are usually small enough that they aren't necessary.

Re: Ask HN: Is UML still relevant today?

#15

No. Proof: http://www.google.co.uk/trends/explore#q=%2Fm%2F07x3g&cmpt=q Interesting though, Grady Booch - the man who wrote the Ada text book I had to learn for university - is behind UML. Glad it failed.

google trends is definetly not relevant! you cant draw any conclusion from anything especially when it's not clear what are the search volumes. They should throw that stuff anyway.It doesnt make sense.

Re: Ask HN: Is UML still relevant today?

#16
I think I spent three years in college getting examined on UML diagrams of all sorts. There is so much detail you can put into a UML diagram that means so much, like arrow heads mean class A implements interfface B. I have never seen anyone in work life ever use that much detail. I have done 100s of sketches of class diagrams and sequence diagrams but never have I made one that would fit the rigid rules of UML diagrams.How can there be so many rules for drawing lines between boxes?

I once did create fully compliant UML diagrams for a requirements document. The next day half the team emailed me back asking what all the box types, arrow heads and broken lines meant. Honestly, simple sketches with annotations have served me so much better than following the rigid rules of UML.

Re: Ask HN: Is UML still relevant today?

#17
Outside of sequence diagrams:

Over many years as a indie developer, corporate developer, architect, engineering manager, product manager, technical founder, and CTO, I've never found the specifics of UML (which arrows and box types mean what, or its distinctions between different types of containment and relationships) to be useful. I've never been in a room with someone who admitted knowing UML, or where UML made a discussion shorter or easier. I've never seen architecture diagrams or sequence diagrams, in whitepapers, technical documentation, or engineering discussion, use UML. I'd hoped that at the least UML would introduce a shared vocabulary, but within my experience it hasn't.

Reading Fowler's “UML Distilled”, on the other hand, did teach me a lot about software architecture and design, and it also taught me to read the rest of Fowler's work, which has been equally rewarding.

Re: Ask HN: Is UML still relevant today?

#20
post #4

If you learn only one diagram from UML, take the time to understand and use Sequence Diagrams [1]. Being able to break down an interaction into a sequence diagram (especially between 2 or 3 servers) is a powerful thought tool for specifying interactions and its easy for people to understand. [1] http://en.wikipedia.org/wiki/Sequence_diagram

Sequence diagrams are extremely useful.

The only problem with UML is that it was used as a method of intellectual masturbation by people who love massive class hierarchies. There's a lot of good stuff in UML, the problem is that the people who were attracted to it in the mid 90s were the same people who were poor programmers and were looking for any excuse to avoid writing code. There are the same guys who spent years building up formalisms in tools like Rational Rose and other pseudo-engineering tools.

When used by good programmers to illustrate specific hard-to-reason about components of the system, it is a useful tool. Activity diagrams, sequence diagrams, use case diagrams and communication diagrams are all useful.

Post reply on HN