comp.lang.ada
 help / color / mirror / Atom feed
From: "Yannick Duchêne (Hibou57)" <yannick_duchene@yahoo.fr>
Subject: Re: Comparison : Ada and UML (comparison… indeed)
Date: Sun, 31 Oct 2010 09:01:34 +0100
Date: 2010-10-31T09:01:34+01:00	[thread overview]
Message-ID: <op.vlfkkwbzule2fv@garhos> (raw)
In-Reply-To: m2hbg225w8.fsf@pushface.org

Le Sun, 31 Oct 2010 08:11:35 +0100, Simon Wright <simon@pushface.org> a  
écrit:

> "Yannick Duchêne (Hibou57)" <yannick_duchene@yahoo.fr> writes:
>
>> Back to a famous topic of OO with Ada vs OO with other languages; just
>> that here, let's replace “other languages” by UML.
>
> I've just looked at the UML 2.0 Superstructure Specification 05-07-04,
> and in section 7.3.6, Operation, under Semantics (on page 117 of 709!)
You're brave

> it says
>
>   "An operation may be redefined in a specialization of the featured
>   classifier. This redefinition may specialize the types of the owned
>   parameters, add new preconditions or postconditions, add new raised
>   exceptions, or otherwise refine the specification of the operation."

“Owned parameters” it says so, and the receiver is not part of owned  
parameters. So the flaw is unavoidable. I'm afraid many other flaw are  
hidden the same way (at least, this does not witness for something good).

Does HOOD include diagrams for State Machines, Collaborations and  
Scenarios ? That is mainly what is of interest to me in UML (that is not  
just for class diagrams which does not offer anything useful compared to  
source, but class diagrams are just required to define elements of other  
diagrams). If someone can confirms HOOD has something similar, I may say  
its time now to look at HOOD a bit also (the modeling language, not the  
method).


-- 
Si les chats miaulent et font autant de vocalises bizarres, c’est pas pour  
les chiens.



  reply	other threads:[~2010-10-31  8:01 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-31  6:22 Comparison : Ada and UML (comparison… indeed) Yannick Duchêne (Hibou57)
2010-10-31  7:11 ` Simon Wright
2010-10-31  8:01   ` Yannick Duchêne (Hibou57) [this message]
2010-10-31  8:33     ` Vinzent Hoefler
2010-10-31 10:18       ` Yannick Duchêne (Hibou57)
2010-10-31 10:45         ` Vinzent Hoefler
2010-10-31 10:53         ` Yannick Duchêne (Hibou57)
2010-10-31 10:32       ` Yannick Duchêne (Hibou57)
2010-10-31 10:47       ` J-P. Rosen
2010-10-31 11:00         ` Yannick Duchêne (Hibou57)
2010-11-09 11:04           ` Matteo Bordin
2010-11-09 14:27             ` J-P. Rosen
2010-11-09 17:44               ` Matteo Bordin
2010-11-09 21:17                 ` J-P. Rosen
2010-11-10  9:23                   ` Matteo Bordin
2010-11-10 15:32                     ` J-P. Rosen
2010-11-09 20:02             ` Simon Wright
2010-11-10  9:34               ` Matteo Bordin
2010-11-10 21:31                 ` Simon Wright
2010-11-10 21:43                   ` Vinzent Hoefler
2010-11-11  7:40                     ` J-P. Rosen
2010-11-12 16:36                       ` Matteo Bordin
2010-11-12 16:37                       ` Matteo Bordin
2010-11-12 18:24                         ` J-P. Rosen
2010-11-12 16:27                   ` Matteo Bordin
2010-10-31 10:43     ` J-P. Rosen
2010-10-31 10:40 ` J-P. Rosen
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox