Re: Fortran bashing in the MATLAB newsgroup
- From: Arjen Markus <arjen.markus@xxxxxxxxxx>
- Date: Mon, 30 Jun 2008 06:46:50 -0700 (PDT)
On 30 jun, 14:52, Damian <dam...@xxxxxxxxxx> wrote:
Interesting points about conflicts between OCL and UML. I'd love to
hear more. On a similar note, I've sometimes had difficulty
expressing Fortran concepts in UML. For example, UML has no concept
of multi-dimensional arrays.
Well, here are a few, perhaps minor, details:
- Where UML talks of Classifiers, OCL talks of types:
class, interface, datatype or component.
- UML does not specify how constraints on a superclass are
assed on to the subclasses. OCL needs to know that, so some
practical rules are suggested.
- OCL has no real way to deal with inheritance, whereas this
seems very important in UML.
- OCL can treat any attrribute as a collection, whether it is
one in the UML diagrams or not.
(The book I refer to is that by Jos Warmer and Anneke Kleppe)
These are just my impressions, but as they claim that with
UML and OCL you should be able to generate the "complete"
source code for the system, I wondered about the ambiguities
and apparent mismatches I came across.
Regards,
Arjen
.
- References:
- Fortran bashing in the MATLAB newsgroup
- From: James Tursa
- Re: Fortran bashing in the MATLAB newsgroup
- From: Damian
- Re: Fortran bashing in the MATLAB newsgroup
- From: Arjen Markus
- Re: Fortran bashing in the MATLAB newsgroup
- From: Damian
- Fortran bashing in the MATLAB newsgroup
- Prev by Date: Re: Fortran bashing in the MATLAB newsgroup
- Next by Date: Re: cvf 6.5 --> cvf6.6
- Previous by thread: Re: Fortran bashing in the MATLAB newsgroup
- Next by thread: Re: Fortran bashing in the MATLAB newsgroup
- Index(es):
Relevant Pages
|