From: Niklas Holsti <niklas.holsti@tidorum.invalid>
Subject: Re: Communications of ACM: Sir, Please Step Away from the ASR-33!
Date: Tue, 28 Dec 2010 11:32:04 +0200
Date: 2010-12-28T11:32:04+02:00 [thread overview]
Message-ID: <8ntp4kFo9qU1@mid.individual.net> (raw)
In-Reply-To: <2vc8dxz8lc3t$.frc39a6lzjvt.dlg@40tude.net>
Dmitry A. Kazakov wrote:
> On Mon, 27 Dec 2010 20:41:36 +0200, Niklas Holsti wrote:
>
>> Such mixed 2D+text codes are already a reality for many programmers who
>> use box-and-arrow diagrams with tools like LabView, Simulink, or any of
>> the UML-based tools, combined with application-specific function-boxes
>> written in some traditional textual language. These programmers may not
>> even glance at the 1D-text source-code that the tools generate from the
>> diagrams, much less attempt to understand the structure of this code.
>
> In one project the customer was adamant that all code must be written in
> such a language (DiaDem, now owned NI. They also maintain LabView). He had
> an idea that diagrams were easy to understand, so that he could modify them
> by himself.
>
> As expected this ended in a disaster. The project was a real-size one. I
> have no idea how many square meters the diagram was, but in the end we had
> no other choice than to write a program, which processed the textual
> descriptions of diagram. They were text files. So instead of editing square
> kilometers of arrows, imagine how would you browse for anything in such a
> thing! we patched these text files and let the tool add missing connections
> and necessary blocks. Nobody ever looked at the blocks and arrows. Just to
> load the mess to look at it took minutes.
>
> Fortunately at some point the customer dropped the requirement and we
> gradually removed most of the mess. Now only 1% of code remains in DiaDem.
This is a good description of a failure of diagram-based programming,
thanks Dmitry.
Nevertheless, there are also many examples of successful projects that
use diagrams. Perhaps the DIAdem tool was not a good match for the
application where it failed. The NI webpage http://www.ni.com/diadem/
describes DIAdem as a data-analysis tool, not a general programming tool.
> Ada has nothing to fear from this side.
I am not so sure. I remember attending an Ada conference (possibly
Ada-Europe 2003) in which a speaker from Airbus appeared. I think he was
expected to speak about how Ada was used at Airbus, and how good it was;
instead, he told us that Airbus were moving to model-based development,
using a synchronous modelling language, and that the hand-written Ada
code was being replaced by automatically generated C code. I felt that
this depressed the audience a good bit...
--
Niklas Holsti
Tidorum Ltd
niklas holsti tidorum fi
. @ .
next prev parent reply other threads:[~2010-12-28 9:32 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-15 22:09 Communications of ACM: Sir, Please Step Away from the ASR-33! Michael R
2010-12-15 22:36 ` Florian Weimer
2010-12-17 0:53 ` Randy Brukardt
2010-12-31 14:26 ` Florian Weimer
2010-12-27 14:41 ` Jacob Sparre Andersen
2010-12-27 16:56 ` Georg Bauhaus
2010-12-27 17:45 ` Dmitry A. Kazakov
2010-12-27 18:41 ` Niklas Holsti
2010-12-27 20:40 ` Dmitry A. Kazakov
2010-12-28 9:32 ` Niklas Holsti [this message]
2010-12-28 10:13 ` Dmitry A. Kazakov
2010-12-28 11:01 ` Georg Bauhaus
2010-12-28 12:07 ` Dmitry A. Kazakov
2010-12-28 13:03 ` Georg Bauhaus
2010-12-28 13:56 ` Dmitry A. Kazakov
2010-12-28 15:41 ` Georg Bauhaus
2010-12-28 16:26 ` Dmitry A. Kazakov
2010-12-29 12:56 ` Georg Bauhaus
2010-12-29 14:52 ` Dmitry A. Kazakov
2010-12-29 16:32 ` Georg Bauhaus
2010-12-29 17:26 ` Dmitry A. Kazakov
2010-12-29 19:31 ` Georg Bauhaus
2010-12-29 23:35 ` Dmitry A. Kazakov
2010-12-30 18:28 ` Georg Bauhaus
2010-12-30 19:33 ` Dmitry A. Kazakov
2010-12-30 22:05 ` Simon Wright
2010-12-31 9:09 ` Dmitry A. Kazakov
2010-12-29 13:55 ` Georg Bauhaus
2010-12-29 14:33 ` Dmitry A. Kazakov
2010-12-28 14:39 ` Simon Wright
2010-12-29 12:43 ` Georg Bauhaus
2010-12-30 15:00 ` Marco
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox