HowToCode: Do we need UML?

 

imageI´ve found this very nice service called yUML.me which allows you to create cool UML diagrams with an URL. I think this is a nice thing but in fact I can´t remember when I used REAL UML at work.So I asked myself, do we really need UML?

 

yUML

yUML.me is a cool service to create classes, activities & Use case UML diagrams. There is also a version for companies. A great idea and the diagrams are quite good looking. Zwinkerndes Smiley

Do I need UML?

In my (short) time as a software developer I never felled the pressure to create difficult UML diagrams. Most of the time I paint classes or Use case diagrams or stuff like that on our whiteboard or on powerpoint.

Powerpoint-architect

imageAlthough powerpoint isn´t the first choice for software architecture I remember more powerpoint blocks about the architecture of software than “real” UML Diagrams.

Notice

imageI didn´t finish a study, just an apprenticeship. During my apprenticeship I liked UML but in my opinion it´s oversized. Just take a look on the “Syntax” (what´s the direction of the arrow? “extend” or “include”?) In most cases simple but effective paintings are enough. But I know some students who are in love with UML because it´s well-structured but is this really that important?

UML vs. TDD?

A while ago I read a book with a comparison between UML and a construction plan for house building. The main argument was, that for building a house you need an entire construction plan because it takes more time to build and rebuild a house than making a plan. But in my opinion it´s not the same in software architecture. It just takes a few hours to find out if this will work or not. TDD (test driven design) is the best way especially if I plan to build an API. Making an UML plan will take the same time than testing this in a TDD session.

UML is getting old fast

I affirm that a UML diagram is getting old soon after you created it with a lot of work. Without a strict process that makes sure that the UML diagram is conforming to reality you do it better if you save the work or not?

A good architecture should fit on a napkin

That´s a quote from Ralf Westphal who wrote an interesting Blogpost about this subject (I´m sorry it´s only available in German). I share his opinion ;)


Result

I wouldn´t say that UML is useless but I never used it in one of my projects. If you create it in a nice graphic way (like for example in VS 2010) than it could be interesting of course. Without tooling it´s too complicated for me. So all in all yUML is a good idea but without the write tooling I´m going on painting powerpoint architecture on the white board Smiley

But what is your opinion? Do you use UML? Why? How did you keep this actually? Am I crazy and can´t see all the advantages?

If you enjoyed this post, please consider leaving a comment or subscribing to the RSS feed to have future articles delivered to your feed reader.

About the author

Written by Code Inside Team

Learn more about our team.

One Response

  1. UML will give you some candidate objects that you can explore further in code…

    Reply

Comment on this post

Recent Posts

  • Automated Security Analyser for ASP.NET websites

    Evil Hackers are lurking everywhere and many Web-applications are delicately and share “too much” with the attacker. A quick (first!) overview offers the Tool “ASafaWeb”. All the website does is making a few requests and writing an Analyses including problem solving’s. There are no permanent disadvantages (bad requests/ DoS attacks and so on). Example: KnowYourStack.com ...

  • image1489-570x194.png
    „Sign in with Twitter“ for your own ASP.NET WebApp

      “Sign in with Twitter” is a popular practice to authenticate the users on your website. One advantage compared to an own registration is the lower inhibition for the user. But on the other hand Twitter doesn’t fess up with all the information’s and you will get into a kind of addiction. At the end ...

  • image1485-570x194_thumb.png
    CodePlex is going to be updated

      CodePlex the Microsoft Open Source Project Hosting Plattform hasn’t changed that much in the last few years and for a few times I thought Microsoft stopped the whole developing process. But now I found out that there is still life in the project. Maybe it is because of the success of GitHub or because ...

  • image1474_thumb.png
    What does Adobe in the flash-free web? Magazine-Style Layouts with CSS Regions!

      Adobe is well known for Photoshop and Flash but of course there is a lot more. According to the “Future Post” from Google Adobe declared one of their big subjects on a Blogpost. I’m talking about the W3C Working Draft to CSS Regions. Adobe cooperates with the WebKit Team and W3C on this. What ...

  • image1471-523x194.png
    HTML 5 Games, Tooling & 3D

      Game Developing is an interesting subject for all kind of software developer. But as a web developer without any Flash-skills there aren’t that much starting points. With HTML5 and the combination between Javascript, CSS3 and fast browsers there are the first “robust” HTML5 games. HTML5 games? Is this real? Neowin created a “Top 10” ...

Support us