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


Groups > comp.programming > #4368

Re: can UML be used with a procedural language?

Path csiph.com!usenet.pasdenom.info!aioe.org!.POSTED!not-for-mail
From Kaz Kylheku <kaz@kylheku.com>
Newsgroups comp.programming
Subject Re: can UML be used with a procedural language?
Date Thu, 1 May 2014 00:56:44 +0000 (UTC)
Organization Aioe.org NNTP Server
Lines 18
Message-ID <20140430175019.303@kylheku.com> (permalink)
References <d8f9d6d0-3c13-4536-9ab4-4a36732f18a4@googlegroups.com>
NNTP-Posting-Host X+c6YNb3AaWMPA3YfA4opg.user.speranza.aioe.org
X-Complaints-To abuse@aioe.org
User-Agent slrn/pre1.0.0-18 (Linux)
X-Notice Filtered by postfilter v. 0.8.2
Xref csiph.com comp.programming:4368

Show key headers only | View raw


On 2014-04-30, gdotone@gmail.com <gdotone@gmail.com> wrote:
> Can UML be used with a procedural language? like C

UML can be used to express designs which are then implemented using object
oriented programming techniques in C.

There is no support in C for *directly* expressing the concepts in UML, using
just the language, without adhering to the conventions of some supporting OO
programming framework.

Some aspects of UML can't be directly expressed in some OO languages either.
For instance, an N:1 relationship expressed dirctly in UML may require you to
define some extra members in an object: list or set structures that hold
references to other objects. These auxiliary things don't appear in the UML.

A C implementation will have more cruft that doesn't appear in the UML.
(Perhaps so much so that you have to wear special UML glasses in order to see
the original UML design when looking at the code.)

Back to comp.programming | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

can UML be used with a procedural language? gdotone@gmail.com - 2014-04-30 16:39 -0700
  Re: can UML be used with a procedural language? Kaz Kylheku <kaz@kylheku.com> - 2014-05-01 00:56 +0000
    Re: can UML be used with a procedural language? gdotone@gmail.com - 2014-05-01 01:16 -0700

csiph-web