Live data from Hacker News

Ask HN: Is UML still relevant today?

news.ycombinator.com

61–69 of 69 posts

Re: Ask HN: Is UML still relevant today?

#61
post #47

No. TL;DR: Drawing is useful, UML is not. For database designs, textual schemas, E/R diagrams or plain SQL are sufficient. I've drawn plenty of state diagrams without crediting UML handbooks. E/R diagrams can double as "class diagrams" in the sense that you don't need all the complexity of properties and methods in a diagram to convey which classes exist and how they're related. People who think that drawing bubbles…

Yes, but it is also useful having a standard way to express some of the things in your diagram.

Re: Ask HN: Is UML still relevant today?

#62
post #7

No. I have never known anyone that uses UML, outside UML coaches.

Our new SDLC includes UMLs and ERDs for all new projects. Sigh. For a Drupal site, really? (ok, to be fair we do a lot of mobile development too, but a blanket requirement seems silly)

FWIW, contractor working on government projects (DOD).

Re: Ask HN: Is UML still relevant today?

#64
In embedded software development some companies use Rational Rose (state digrams) to specify behavior and perform model checkings. So YES top companies use it but not the kind of top Rails or mobile software company that you usually see in HN. And No it's not used a lot.

I think UML is a nice communication tool for the general purpose development (just the basic syntax of UML). But not more than that, please don't specify an app in UML, is just bullshit.

However, in embedded software development it makes sense to specify the system using UML (like some very important controller software). Why? Because the system is very small (so you can model it) and you need a high certainty that it will perform as it it supposed to (you can perform model checkings and validation).

Otherwise UML is just a nice way to have a common language in the whiteboard.

Re: Ask HN: Is UML still relevant today?

#65
post #56

Earlier quoted context omitted.

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 year…

> 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 Sounds like the same people who became Agile consultants in the early 2000's. Perhaps they realized activity and sequence diagrams can get fairly complicated soon enough, so they looked for a bandwagon requiring no technical chops whatever.

Some of them became TDD consultants later on - it is more trendy now, although the hype is dying down a bit lately.

Re: Ask HN: Is UML still relevant today?

#66
Learn to sketch UML (not use it as a formal development language) -- it's incredibly useful if you don't get too caught up in formalities. "UML Distilled" by Martin Fowler is a tiny book that teaches you enough to sketch it.

I made a UML cheatsheet a while ago for a talk:

http://loufranco.com/blog/uml-cheatsheet

Re: Ask HN: Is UML still relevant today?

#67

Earlier quoted context omitted.

A great open source tool for these is http://www.mcternan.me.uk/mscgen/

Also https://www.websequencediagrams.com/ and http://www.umlet.com/ (if you need to do more then just sequence diagrams)

WebSequenceDiagrams also has a Google Docs add-on [1]

[1] https://chrome.google.com/webstore/detail/websequencediagram...

Re: Ask HN: Is UML still relevant today?

#68
post #26

Earlier quoted context omitted.

zenbowman's reply is [dead]. Why?

The most common cause of individual [dead] comments on an otherwise not-banned account is double posting. If you accidentally submit the same comment twice, the second one is killed. Since both show as live on your screen, when you delete one of the duplicates, you may delete the one that's live to everyone else, while leaving the one that's dead to everyone else.

I'm impressed that you got this exactly right. We've made a few fixes to try to plug this hole, but it unfortunately still happens.

Re: Ask HN: Is UML still relevant today?

#69
State charts can be a powerful method for rapid prototyping of embedded systems if you use a minimalist code generation tool like Quantum Leaps QM.

It is a little difficult to get a hang of, but with familiarity it greatly increases the speed at which I can iterate on designs.

See: http://state-machine.com/qm/index.php and http://www.amazon.com/exec/obidos/ASIN/0750687061/quantumlea...

Note: I am not affiliated with Quantum Leaps, but I have found the tools to be very useful.

Post reply on HN