Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #16143

Re: Do C++ and Java professionals use UML??

From Robert Klemme <shortcutter@googlemail.com>
Newsgroups comp.lang.java.programmer
Subject Re: Do C++ and Java professionals use UML??
Date 2012-07-20 13:39 +0200
Message-ID <a6subnFf45U1@mid.individual.net> (permalink)
References <7b5978a1-16bd-4700-acd8-b6446f5c3218@j4g2000yqf.googlegroups.com> <Eq-dnb__RPG3EJXNnZ2dnUVZ7sWdnZ2d@giganews.com> <lluh08lnc655tiu1mo4972oddebc3ciss2@4ax.com> <slrnk0i1f5.fbk.fredrik@scout.jonson.org>

Show all headers | View raw


On 20.07.2012 09:16, Fredrik Jonson wrote:
> In <lluh08lnc655tiu1mo4972oddebc3ciss2@4ax.com> Roedy Green wrote:
>
>>   I think the biggest problem [of UML] comes with keeping it up
>>   to date.
>
> The more expensive UML tools have round trip engineering which makes
> keeping it up to date with code less of a hassle. My limited experience
> with round trip engineering is that has its own weakness; it picks up all
> minor parts of the code too, including things that are not necessarily is
> important to get the main picture of the design.

Graphical programming (what these round trip tools promise to be able to 
do) does not work.  The mere fact that you need to have every part of 
the code in the diagram leads to diagram overload.  One of the important 
tasks when creating diagrams (not only UML) is to select what needs to 
be shown and how it needs to be shown.  This is something a human needs 
to do.  It cannot be automated.  Normally to understand a system only a 
few classes need to be depicted and not with every detail (method, data 
member etc.).  Updating diagrams with every changed detail is tedious 
and useless because it does not improve understanding.  Often the basic 
relationships between classes remain the same because they are at the 
heart of the design.

And btw., roundtrip tools don't help much with updating diagrams which 
are sitting in text documents.  That still has to be done manually - 
unless someone invents a system which manages everything (code and 
documentation).  But then it would still need a human being to decide 
whether a new sub class should show up on a particular diagram or not.

My preferred tool is Visio with the free available set of UML stencils. 
  This makes creating UML diagrams easy (because all the elements are 
there) but retains enough flexibility to mix in other information as needed.

> Still, as others already mentioned, it is convenient to have a common
> design language that is not implementation specific, and that is known by
> most programmers out there. That's the strength of UML. Never mind the
> fancy tools, which gets in your way, UML is first and foremost valuable
> as a language to communicate design among your peers.

I couldn't agree more.

> Myself, I mostly use class diagrams and sequence diagrams to introduce a
> design to other developers. In most cases the diagrams never go further
> than a whiteboard. When I have to, I use Umlet to persist them too.

I use these diagram types in decreasing (estimated) frequency:
- class
- activity
- state
- sequence

rarely:
- object
- deployment

Kind regards

	robert


-- 
remember.guy do |as, often| as.you_can - without end
http://blog.rubybestpractices.com/

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Do C++ and Java professionals use UML?? "Ramon F. Herrera" <ramon@conexus.net> - 2012-07-19 13:09 -0700
  Re: Do C++ and Java professionals use UML?? Daniel Pitts <newsgroup.nospam@virtualinfinity.net> - 2012-07-19 14:12 -0700
    Re: Do C++ and Java professionals use UML?? Ivan The Not-So-Bad <1suf41n@yahoo.com> - 2012-07-19 21:47 +0000
    Re: Do C++ and Java professionals use UML?? Arne Vajhøj <arne@vajhoej.dk> - 2012-07-19 18:00 -0400
  Re: Do C++ and Java professionals use UML?? Lew <lewbloch@gmail.com> - 2012-07-19 14:35 -0700
  Re: Do C++ and Java professionals use UML?? Arne Vajhøj <arne@vajhoej.dk> - 2012-07-19 17:58 -0400
  Re: Do C++ and Java professionals use UML?? David LaRue <huey.dll@gte.net> - 2012-07-19 22:22 +0000
  Re: Do C++ and Java professionals use UML?? Leif Roar Moldskred <leifm@dimnakorr.com> - 2012-07-19 17:41 -0500
    Re: Do C++ and Java professionals use UML?? Roedy Green <see_website@mindprod.com.invalid> - 2012-07-19 23:29 -0700
      Re: Do C++ and Java professionals use UML?? Fredrik Jonson <fredrik@jonson.org> - 2012-07-20 07:16 +0000
        Re: Do C++ and Java professionals use UML?? Robert Klemme <shortcutter@googlemail.com> - 2012-07-20 13:39 +0200
          Re: Do C++ and Java professionals use UML?? Martin Gregorie <martin@address-in-sig.invalid> - 2012-07-20 19:33 +0000
            Re: Do C++ and Java professionals use UML?? Robert Klemme <shortcutter@googlemail.com> - 2012-07-21 00:02 +0200
              Re: Do C++ and Java professionals use UML?? Patricia Shanahan <pats@acm.org> - 2012-07-20 15:22 -0700
                Re: Do C++ and Java professionals use UML?? Martin Gregorie <martin@address-in-sig.invalid> - 2012-07-20 23:45 +0000
                Re: Do C++ and Java professionals use UML?? Arne Vajhøj <arne@vajhoej.dk> - 2012-07-20 19:54 -0400
                Re: Do C++ and Java professionals use UML?? Robert Klemme <shortcutter@googlemail.com> - 2012-07-21 12:15 +0200
                Re: Do C++ and Java professionals use UML?? Wanja Gayk <brixomatic@yahoo.com> - 2012-07-21 19:21 +0200
              Re: Do C++ and Java professionals use UML?? Gene Wirchenko <genew@ocis.net> - 2012-07-22 19:26 -0700
                Re: Do C++ and Java professionals use UML?? Arne Vajhøj <arne@vajhoej.dk> - 2012-07-22 22:52 -0400
                Re: Do C++ and Java professionals use UML?? Robert Klemme <shortcutter@googlemail.com> - 2012-07-23 09:17 +0200
                Re: Do C++ and Java professionals use UML?? Gene Wirchenko <genew@ocis.net> - 2012-07-23 10:03 -0700
                Re: Do C++ and Java professionals use UML?? markspace <-@.> - 2012-07-23 10:51 -0700
                Re: Do C++ and Java professionals use UML?? Gene Wirchenko <genew@ocis.net> - 2012-07-23 11:42 -0700
                Re: Do C++ and Java professionals use UML?? Robert Klemme <shortcutter@googlemail.com> - 2012-07-23 21:11 +0200
                Re: Do C++ and Java professionals use UML?? Gene Wirchenko <genew@ocis.net> - 2012-07-23 13:53 -0700
                Re: Do C++ and Java professionals use UML?? "John B. Matthews" <nospam@nospam.invalid> - 2012-07-23 21:00 -0400
                Re: Do C++ and Java professionals use UML?? Gene Wirchenko <genew@ocis.net> - 2012-07-23 18:48 -0700
                Re: Do C++ and Java professionals use UML?? "John B. Matthews" <nospam@nospam.invalid> - 2012-07-24 15:44 -0400
                Re: Do C++ and Java professionals use UML?? Gene Wirchenko <genew@ocis.net> - 2012-07-24 13:47 -0700
                Re: Do C++ and Java professionals use UML?? Lew <lewbloch@gmail.com> - 2012-07-24 14:18 -0700
                Re: Do C++ and Java professionals use UML?? Gene Wirchenko <genew@ocis.net> - 2012-07-24 14:38 -0700
                Re: Do C++ and Java professionals use UML?? Arne Vajhøj <arne@vajhoej.dk> - 2012-07-24 18:36 -0400
                Re: Do C++ and Java professionals use UML?? Gene Wirchenko <genew@ocis.net> - 2012-07-24 16:32 -0700
                Re: Do C++ and Java professionals use UML?? Arne Vajhøj <arne@vajhoej.dk> - 2012-07-24 20:20 -0400
                Re: Do C++ and Java professionals use UML?? Gene Wirchenko <genew@ocis.net> - 2012-07-25 10:10 -0700
                Re: Do C++ and Java professionals use UML?? Arne Vajhøj <arne@vajhoej.dk> - 2012-07-25 13:58 -0400
                Re: Do C++ and Java professionals use UML?? Gene Wirchenko <genew@ocis.net> - 2012-07-25 13:38 -0700
                Re: Do C++ and Java professionals use UML?? Arne Vajhøj <arne@vajhoej.dk> - 2012-07-25 18:42 -0400
                Re: Do C++ and Java professionals use UML?? Lew <noone@lewscanon.com> - 2012-07-25 06:44 -0700
                Re: Do C++ and Java professionals use UML?? Gene Wirchenko <genew@ocis.net> - 2012-07-25 10:14 -0700
                Re: Do C++ and Java professionals use UML?? Jim Gibson <jimsgibson@gmail.com> - 2012-07-25 15:05 -0700
                Re: Do C++ and Java professionals use UML?? Gene Wirchenko <genew@ocis.net> - 2012-07-25 16:07 -0700
                Re: Do C++ and Java professionals use UML?? Arne Vajhøj <arne@vajhoej.dk> - 2012-07-25 19:35 -0400
                Re: Do C++ and Java professionals use UML?? Gene Wirchenko <genew@ocis.net> - 2012-07-25 17:33 -0700
                Re: Do C++ and Java professionals use UML?? Arne Vajhøj <arne@vajhoej.dk> - 2012-07-25 21:00 -0400
                Re: Do C++ and Java professionals use UML?? Gene Wirchenko <genew@ocis.net> - 2012-07-26 09:06 -0700
                Re: Do C++ and Java professionals use UML?? Arne Vajhøj <arne@vajhoej.dk> - 2012-07-26 13:04 -0400
                Re: Do C++ and Java professionals use UML?? Patricia Shanahan <pats@acm.org> - 2012-07-26 09:36 -0700
                Re: Do C++ and Java professionals use UML?? Arne Vajhøj <arne@vajhoej.dk> - 2012-07-26 13:10 -0400
                Re: Do C++ and Java professionals use UML?? Patricia Shanahan <pats@acm.org> - 2012-07-26 11:01 -0700
                Re: Do C++ and Java professionals use UML?? Arne Vajhøj <arne@vajhoej.dk> - 2012-07-26 14:47 -0400
                Re: Do C++ and Java professionals use UML?? David Lamb <dalamb@cs.queensu.ca> - 2012-07-26 17:13 -0400
                Re: Do C++ and Java professionals use UML?? Patricia Shanahan <pats@acm.org> - 2012-07-27 09:05 -0700
                Re: Do C++ and Java professionals use UML?? Wanja Gayk <brixomatic@yahoo.com> - 2012-08-04 10:17 +0200
                Re: Do C++ and Java professionals use UML?? Patricia Shanahan <pats@acm.org> - 2012-08-04 07:45 -0700
                Re: Do C++ and Java professionals use UML?? "John B. Matthews" <nospam@nospam.invalid> - 2012-08-05 10:50 -0400
                Re: Do C++ and Java professionals use UML?? Patricia Shanahan <pats@acm.org> - 2012-08-05 08:41 -0700
                Re: Do C++ and Java professionals use UML?? "John B. Matthews" <nospam@nospam.invalid> - 2012-08-06 21:23 -0400
                Re: Do C++ and Java professionals use UML?? Arne Vajhøj <arne@vajhoej.dk> - 2012-08-06 22:11 -0400
                Re: Do C++ and Java professionals use UML?? Arne Vajhøj <arne@vajhoej.dk> - 2012-08-06 22:01 -0400
                Re: Do C++ and Java professionals use UML?? Arne Vajhøj <arne@vajhoej.dk> - 2012-08-06 21:58 -0400
                Re: Do C++ and Java professionals use UML?? Gene Wirchenko <genew@ocis.net> - 2012-07-27 09:30 -0700
                Re: Do C++ and Java professionals use UML?? Gene Wirchenko <genew@ocis.net> - 2012-07-26 10:57 -0700
                Re: Do C++ and Java professionals use UML?? Wanja Gayk <brixomatic@yahoo.com> - 2012-08-03 00:41 +0200
                Re: Do C++ and Java professionals use UML?? Lew <lewbloch@gmail.com> - 2012-08-02 16:48 -0700
                Re: Do C++ and Java professionals use UML?? Arne Vajhøj <arne@vajhoej.dk> - 2012-08-02 19:52 -0400
                Re: Do C++ and Java professionals use UML?? Lew <lewbloch@gmail.com> - 2012-08-02 17:33 -0700
                Re: Do C++ and Java professionals use UML?? Lew <noone@lewscanon.com> - 2012-07-25 06:41 -0700
                Re: Do C++ and Java professionals use UML?? Arne Vajhøj <arne@vajhoej.dk> - 2012-07-25 10:38 -0400
                Re: Do C++ and Java professionals use UML?? Arne Vajhøj <arne@vajhoej.dk> - 2012-07-24 18:42 -0400
                Re: Do C++ and Java professionals use UML?? Gene Wirchenko <genew@ocis.net> - 2012-07-24 16:35 -0700
                Re: Do C++ and Java professionals use UML?? Arne Vajhøj <arne@vajhoej.dk> - 2012-07-24 20:07 -0400
                Re: Do C++ and Java professionals use UML?? markspace <-@.> - 2012-07-24 17:36 -0700
                Re: Do C++ and Java professionals use UML?? Gene Wirchenko <genew@ocis.net> - 2012-07-25 10:22 -0700
                Re: Do C++ and Java professionals use UML?? markspace <-@.> - 2012-07-25 10:57 -0700
                Re: Do C++ and Java professionals use UML?? Gene Wirchenko <genew@ocis.net> - 2012-07-25 13:41 -0700
                Re: Do C++ and Java professionals use UML?? markspace <-@.> - 2012-07-25 13:44 -0700
                Re: Do C++ and Java professionals use UML?? Gene Wirchenko <genew@ocis.net> - 2012-07-25 14:34 -0700
                Re: Do C++ and Java professionals use UML?? Arne Vajhøj <arne@vajhoej.dk> - 2012-07-25 18:46 -0400
                Re: Do C++ and Java professionals use UML?? Gene Wirchenko <genew@ocis.net> - 2012-07-25 16:10 -0700
                Re: Do C++ and Java professionals use UML?? Wanja Gayk <brixomatic@yahoo.com> - 2012-07-30 14:59 +0200
                Re: Do C++ and Java professionals use UML?? Arne Vajhøj <arne@vajhoej.dk> - 2012-07-30 19:55 -0400
                Re: Do C++ and Java professionals use UML?? Wanja Gayk <brixomatic@yahoo.com> - 2012-08-02 23:41 +0200
                Re: Do C++ and Java professionals use UML?? Arne Vajhøj <arne@vajhoej.dk> - 2012-08-02 18:31 -0400
                Re: Do C++ and Java professionals use UML?? markspace <-@.> - 2012-07-25 15:54 -0700
                Re: Do C++ and Java professionals use UML?? Gene Wirchenko <genew@ocis.net> - 2012-07-25 16:11 -0700
                Re: Do C++ and Java professionals use UML?? Arne Vajhøj <arne@vajhoej.dk> - 2012-07-25 19:30 -0400
                Re: Do C++ and Java professionals use UML?? Arne Vajhøj <arne@vajhoej.dk> - 2012-07-25 18:49 -0400
                Re: Do C++ and Java professionals use UML?? Gene Wirchenko <genew@ocis.net> - 2012-07-25 16:13 -0700
                Re: Do C++ and Java professionals use UML?? Robert Klemme <shortcutter@googlemail.com> - 2012-07-26 11:35 +0200
                Re: Do C++ and Java professionals use UML?? Gene Wirchenko <genew@ocis.net> - 2012-07-26 09:16 -0700
                Re: Do C++ and Java professionals use UML?? Robert Klemme <shortcutter@googlemail.com> - 2012-07-27 13:21 +0200
                Re: Do C++ and Java professionals use UML?? Gene Wirchenko <genew@ocis.net> - 2012-07-27 09:16 -0700
                Re: Do C++ and Java professionals use UML?? Robert Klemme <shortcutter@googlemail.com> - 2012-07-27 21:02 +0200
                Re: Do C++ and Java professionals use UML?? Gene Wirchenko <genew@ocis.net> - 2012-07-27 13:47 -0700
                Re: Do C++ and Java professionals use UML?? markspace <-@.> - 2012-07-27 13:51 -0700
                Re: Do C++ and Java professionals use UML?? David Lamb <dalamb@cs.queensu.ca> - 2012-07-27 17:11 -0400
                Re: Do C++ and Java professionals use UML?? Robert Klemme <shortcutter@googlemail.com> - 2012-07-28 18:36 +0200
                Re: Do C++ and Java professionals use UML?? Eric Sosman <esosman@ieee-dot-org.invalid> - 2012-07-28 13:50 -0400
                Re: Do C++ and Java professionals use UML?? Gene Wirchenko <genew@ocis.net> - 2012-07-29 15:24 -0700
                Re: Do C++ and Java professionals use UML?? Arne Vajhøj <arne@vajhoej.dk> - 2012-07-23 19:46 -0400
                Re: Do C++ and Java professionals use UML?? Gene Wirchenko <genew@ocis.net> - 2012-07-23 18:49 -0700
                Re: Do C++ and Java professionals use UML?? Arne Vajhøj <arne@vajhoej.dk> - 2012-07-23 22:59 -0400
                Re: Do C++ and Java professionals use UML?? Arne Vajhøj <arne@vajhoej.dk> - 2012-07-23 19:40 -0400
          Re: Do C++ and Java professionals use UML?? Arne Vajhøj <arne@vajhoej.dk> - 2012-07-20 19:51 -0400
          Re: Do C++ and Java professionals use UML?? Wanja Gayk <brixomatic@yahoo.com> - 2012-07-21 19:16 +0200
            Re: Do C++ and Java professionals use UML?? Robert Klemme <shortcutter@googlemail.com> - 2012-07-21 19:49 +0200
              Re: Do C++ and Java professionals use UML?? Wanja Gayk <brixomatic@yahoo.com> - 2012-07-23 03:28 +0200
      Re: Do C++ and Java professionals use UML?? Leif Roar Moldskred <leifm@dimnakorr.com> - 2012-07-20 03:03 -0500
      Re: Do C++ and Java professionals use UML?? Arne Vajhøj <arne@vajhoej.dk> - 2012-07-20 19:46 -0400
  Re: Do C++ and Java professionals use UML?? Wanja Gayk <brixomatic@yahoo.com> - 2012-07-21 18:59 +0200
  Re: Do C++ and Java professionals use UML?? R kamalakkannan <kamalakkannan.ney@gmail.com> - 2012-08-02 01:57 -0700

csiph-web