File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes OO, Patterns, UML and Refactoring and the fly likes UML and beyond? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Engineering » OO, Patterns, UML and Refactoring
Bookmark "UML and beyond?" Watch "UML and beyond?" New topic
Author

UML and beyond?

Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
A true modelling language would be able to point out the problems with various implementations (like OOD). Are there any UML proponent or theorists that are attempting to develop new paradigms?
Ilja Preuss
author
Sheriff

Joined: Jul 11, 2001
Posts: 14112
Originally posted by Dana Barish:
A true modelling language would be able to point out the problems with various implementations (like OOD).

How would it do that?


The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
I think a modelling language if it is to be useful must bring out conflicts in proposed implementations (like OOD). Then conflicts can be resolved and implementations can be improved.
Ilja Preuss
author
Sheriff

Joined: Jul 11, 2001
Posts: 14112
A modeling language is just what it names suggests: a *language* used to communicate *models*. It can be used to help communicating a point in a discussion, or to make notes for yourself or others.
To me, that seems to be quite usefull...
Robert Martin
Author
Ranch Hand

Joined: Jul 02, 2003
Posts: 76
Originally posted by Dana Barish:
A true modelling language would be able to point out the problems with various implementations (like OOD). Are there any UML proponent or theorists that are attempting to develop new paradigms?

Any kind of source code is a true(TM) modeling language. Java, for example, is a very nice modeling language. The fact that it is also executable is irrelevant.
Some languages have have internal self-consistency rules. Java, for example, does type checking at compile time. This ensures that the usage of types within the model is consistent. Other languages, like Python or Ruby, don't perform this internal consistency check until runtime.


---<br />Uncle Bob.
Ilja Preuss
author
Sheriff

Joined: Jul 11, 2001
Posts: 14112
There are also methodologies adding such consistency checks to UML. In Fusion (at least the way I learned it), you have rules such as "if there is X drawn in diagram A, there also needs to be an Y in diagram B". I didn't find this to be very helpfull, though - and it certainly didn't do anything to actually get *good* designs...
Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
I think Java is a descriptive rather than modelling language. It can describe proposed models. It can at times help spot model problems (lack of specification, redundancy, conflict). I would like to see a modelling language with a "Montessori" approach, ie. if it's not completely correct, it doesn't work at all (except perhaps to tell you what went wrong). Of course a working correct model doesn't necessarily reflect the system being modelled 100% but that's another problem.
Ilja Preuss
author
Sheriff

Joined: Jul 11, 2001
Posts: 14112
Originally posted by Dana Barish:
I think Java is a descriptive rather than modelling language. It can describe proposed models.

What is your definition of a "model"?
I would like to see a modelling language with a "Montessori" approach, ie. if it's not completely correct, it doesn't work at all (except perhaps to tell you what went wrong). Of course a working correct model doesn't necessarily reflect the system being modelled 100% but that's another problem.

Then what do you mean by "completely correct"? What type of "correctness" are you referring to?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: UML and beyond?