From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,4c17e6ae73bd8c51 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,UTF8 Path: g2news1.google.com!news4.google.com!news3.google.com!proxad.net!feeder1-2.proxad.net!usenet-fr.net!gegeweb.org!aioe.org!not-for-mail From: =?utf-8?Q?Yannick_Duch=C3=AAne_=28Hibou57?= =?utf-8?Q?=29?= Newsgroups: comp.lang.ada Subject: Re: Ada and UML Date: Thu, 02 Sep 2010 02:19:14 +0200 Organization: Ada @ Home Message-ID: References: <4C7D7229.3000501@nowhere.com> NNTP-Posting-Host: TElOPbDtwZwcMrHuwe+urg.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes Content-Transfer-Encoding: Quoted-Printable X-Complaints-To: abuse@aioe.org X-Notice: Filtered by postfilter v. 0.8.2 User-Agent: Opera Mail/10.61 (Win32) Xref: g2news1.google.com comp.lang.ada:13900 Date: 2010-09-02T02:19:14+02:00 List-Id: Le Tue, 31 Aug 2010 23:20:41 +0200, nobody a =C3=A9= crit: > Then the translation into code is just something mechanical. I do not really believe in automatic source generation from UML, as ther= e = may be multiple possibilities. Or else, may be these systems use somethi= ng = to tell =E2=80=9Cfor This, use That=E2=80=9D. Just think that in Ada, yo= u may have for = example at least, where polymorphism is required, two ways to do (when = feasible, sometime only one will applies) : static (via generics) and = dynamic (via tagged or interface) polymorphism. How can a system know it= = should use this or that ? This requires a human analysis, to say =E2=80=9C= well, = this can be statically known, so let's use static polymorphism=E2=80=9D = or else = the opposite (just an example). Your point makes me think about the so called =E2=80=9CExecutable UML=E2= =80=9D. = Unfortunately, I do not know anything about it. I am just pretty sure th= is = cannot be automated. If you wan to tell more... just do :) -- = =E2=80=9CDual licensing is the Perl's way to disinfect the GNU General P= ublic = Virus!=E2=80=9D (anonymous)