Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
UML.tools.limits
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  9 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
ilias  
View profile  
 More options Aug 14 2002, 6:19 am
Newsgroups: comp.lang.lisp
From: ilias <at_n...@pontos.net>
Date: Wed, 14 Aug 2002 13:25:03 +0300
Local: Wed, Aug 14 2002 6:25 am
Subject: UML.tools.limits
i'd like to clarify *some* facts about UML and CL.

- please answer with the precision u use when programming.
- avoid referencing other languages.
- avoid context-switching.
- be friendly!

UML = Unified Modeling Language
CL  = Common LISP
lc  = language constructs

1. *can i model in UML what i can write in CL?*
1.1 which CL-lc cannot be modeled in UML?
1.2 which CL-lc cannot be modeled in UML straightforward?
1.2.1 Which lc of UML are used, to model those CL-lc under 1.2?

1.3 Which UML tools are specialized to CL?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Alain Picard  
View profile  
 More options Aug 14 2002, 7:20 am
Newsgroups: comp.lang.lisp
From: Alain Picard <apicard+die-spammer-...@optushome.com.au>
Date: 14 Aug 2002 21:14:41 +1000
Local: Wed, Aug 14 2002 7:14 am
Subject: Re: UML.tools.limits

ilias <at_n...@pontos.net> writes:
> - please answer with the precision u use when programming.
> - avoid referencing other languages.
> - avoid context-switching.
> - be friendly!

> i'd like to clarify *some* facts about UML and CL.

> UML = Unified Modeling Language
> CL  = Common LISP
> lc  = language constructs

> 1. *can i model in UML what i can write in CL?*

No.  That is, you cannot make a UML model for an
arbitrary CL programs.  [Anybody know if UML is turing complete? ;-)]

> 1.1 which CL-lc cannot be modeled in UML?

At least the following, off the top of my head.
Macros. Symbols. MOP operations.  Multi-methods.  Dynamic variables.
Anonymous functions.

> 1.2 which CL-lc cannot be modeled in UML straightforward?

I do not understand how this is different from 1.1.
"Please ask questions with the precision u use when programming." :-P

> 1.2.1 Which lc of UML are used, to model those CL-lc under 1.2?

?

> 1.3 Which UML tools are specialized to CL?

None, for obvious reasons.

Friendlily yours,
                --ap


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "UML.tools.limits - straightforward" by ilias
ilias  
View profile  
 More options Aug 14 2002, 8:30 am
Newsgroups: comp.lang.lisp
From: ilias <at_n...@pontos.net>
Date: Wed, 14 Aug 2002 15:35:44 +0300
Local: Wed, Aug 14 2002 8:35 am
Subject: Re: UML.tools.limits - straightforward

macros
symbols
MOP operations
multi-methods
dynamic variables

>>1.2 which CL-lc cannot be modeled in UML straightforward?

> I do not understand how this is different from 1.1.
> "Please ask questions with the precision u use when programming." :-P

example for straightforward:
- use of UML-lc class to model the java-lc class

example for not straightforward:
- use of a UML-class,
- add a UML-Stereotype (e.g. "CLMACRO") to the class
- modify the code-generator to recognise Sterotype "CLMACRO"
- generate the CL-MAKRO out of the information modeled in the UML-class

>>1.2.1 Which lc of UML are used, to model those CL-lc under 1.2?

> ?

Which language-constructs  of UML are used, to model those
CL-language-constructs [possibly refered from you] under [the question]1.2

in the example i gave above:
- UML-lc "Stereotype"
- Custom-Code-Generation (not a UML-lc, but a UML-tool-functionality)

>>1.3 Which UML tools are specialized to CL?

> None, for obvious reasons.

> Friendlily yours,
>                 --ap

thank you.

i conclude (based on your answers): UML is incapable of modeling CL.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Frederic Brunel  
View profile  
 More options Aug 14 2002, 8:52 am
Newsgroups: comp.lang.lisp
From: Frederic Brunel <frederic.bru...@in-fusio.com>
Date: 14 Aug 2002 14:51:49 +0200
Local: Wed, Aug 14 2002 8:51 am
Subject: Re: UML.tools.limits - straightforward

ilias <at_n...@pontos.net> writes:
> i conclude (based on your answers): UML is incapable of modeling CL.

This is not completely true because UML is not limited to the class
diagram. UML has 9 differents diagrams to give you some differents
view of your project (from the requierements to the deployment). You
can modelise the parts which are not really affected by the
implementation language you've choosen. You can always modelise
relations and messages exchanged between objects (or modules).

UML only implements *some* object concepts and makes assumptions about
how objects are made. For examples, with UML (as well as most
mainstream languages) all methods must belongs to an objects. So I
agree that some advanced OO concepts implemented by Common Lisp cannot
be directly modelised in a standard way in UML.

--
Frederic Brunel
Software Engineer
In-Fusio - Mobile Game Connections


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
ilias  
View profile  
 More options Aug 14 2002, 11:09 am
Newsgroups: comp.lang.lisp
From: ilias <at_n...@pontos.net>
Date: Wed, 14 Aug 2002 18:14:56 +0300
Local: Wed, Aug 14 2002 11:14 am
Subject: Re: UML.tools.limits - straightforward

i conclude (based on your comments): UML is incapable of modeling CL.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Frederic Brunel  
View profile  
 More options Aug 16 2002, 5:29 am
Newsgroups: comp.lang.lisp
From: Frederic Brunel <frederic.bru...@in-fusio.com>
Date: 16 Aug 2002 11:28:13 +0200
Local: Fri, Aug 16 2002 5:28 am
Subject: Re: UML.tools.limits - straightforward

ilias <at_n...@pontos.net> writes:
> i conclude (based on your comments): UML is incapable of modeling CL.

I said that not all Common Lisp can be *directly* modeled using pure
UML. You can extend the UML syntax to help you modelise most of Common
Lisp concepts.

_If you question is_: can I model my Common Lisp programs (in a logical
view) using UML in its standard form? the answer is: no!. OTOH, if
your question is: can I model my Common Lisp programs using UML? the
answer is: yes! You have to define some way to represents the Common
Lisp concepts you want (like generic functions and so on) using UML
builing blocks.

--
Frederic Brunel
Software Engineer
In-Fusio - Mobile Game Connections


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
ilias  
View profile  
 More options Aug 16 2002, 6:04 am
Newsgroups: comp.lang.lisp
From: ilias <at_n...@pontos.net>
Date: Fri, 16 Aug 2002 13:09:52 +0300
Local: Fri, Aug 16 2002 6:09 am
Subject: Re: UML.tools.limits - straightforward

Frederic Brunel wrote:
> ilias <at_n...@pontos.net> writes:

>>i conclude (based on your comments): UML is incapable of modeling CL.

> I said that not all Common Lisp can be *directly* modeled using pure
> UML. You can extend the UML syntax to help you modelise most of Common
> Lisp concepts.                                           ^^^^^^^

*most of*

i conclude (based on your comments): UML is incapable of modeling CL.

> _If you question is_: can I model my Common Lisp programs (in a logical

here my questions from my initial post:
(if some question is unclear, please request clarifications, quoting
what do you don't understad or what i've expressed unclear)

i'd like to clarify *some* facts about UML and CL.

- please answer with the precision u use when programming.
- avoid referencing other languages.
- avoid context-switching.
- be friendly!

UML = Unified Modeling Language
CL  = Common LISP
lc  = language constructs

1. *can i model in UML what i can write in CL?*
1.1 which CL-lc cannot be modeled in UML?
1.2 which CL-lc cannot be modeled in UML straightforward?
1.2.1 Which lc of UML are used, to model those CL-lc under 1.2?

1.3 Which UML tools are specialized to CL?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "UML.tools.limits" by Kaz Kylheku
Kaz Kylheku  
View profile  
 More options Aug 17 2002, 12:04 pm
Newsgroups: comp.lang.lisp
From: Kaz Kylheku <k...@ashi.footprints.net>
Date: Sat, 17 Aug 2002 16:04:54 +0000 (UTC)
Local: Sat, Aug 17 2002 12:04 pm
Subject: Re: UML.tools.limits

In article <3D5A2FFF.60...@pontos.net>, ilias wrote:
> i'd like to clarify *some* facts about UML and CL.

> - please answer with the precision u use when programming.
> - avoid referencing other languages.
> - avoid context-switching.
> - be friendly!

> UML = Unified Modeling Language
> CL  = Common LISP
> lc  = language constructs

> 1. *can i model in UML what i can write in CL?*

UML is the result of an object-oriented programming orthodoxy, and is pushed by
people who think they know everything about software design, and who will
gladly sell you their ``process'' in the form of expensive documentation,
courses and software.

Because most UML users write in C++, UML caters to these users by trying to
have a graphical element every feature of the C++ type system. This is needed,
because modelling tools based on UML work with the language.  You hack up the
UML, and then you can generate a skeleton. Or you can reverse-engineer code to
produce UML.

The assumption behind UML is that the classes are all important, and the
procedural stuff that is actually written into the method bodies is just an
irrelevant detail, even though that is what actually makes the software work,
and where all the bugs will hide.

> 1.1 which CL-lc cannot be modeled in UML?

Anything that is not object-oriented. What if you use macros to write your own
sublanguage? The use of that sublanguage throughout the rest of your program is
a crucial part of your programming *model* of that program. Yet the modelling
language won't represent that.

Of course, the ability to create your own language makes a modelling language
superfluous.

The principle behind a modeling language like UML is the acceptance of defeat
in the face of a bad programming language. Because it's impossible to write a
C++ or Java program that actually *expresses* its intended design, programmers
must accept that and switch to a redundant notation, which must be
painstakingly maintained in parallel with the program.

It's a way of capturing information that is *lost* in the transfer from the
programmer's mind to the programming language, because the programmer must
manually expand his abstractions into a low-level notation that is incapable of
expressing them directly.

The real solution is to use a programming language in which a programmer can
make all of her thoughts explicit. So that, for instance, if she has an idea
that results in a recurring pattern of coding throughout the program, she can
implement that pattern into the language, rather than manually instantiate all
variations of it.

You see, it's actually Lisp which can rightfully claim the title
``Universal Modelling Language''.

There is one useful idea in UML, which is the modelling of use cases.  Use
cases capture interactions between the software and its users at a very high
level. Use cases don't constrain the internal architecture of the software in
any way.

> 1.2 which CL-lc cannot be modeled in UML straightforward?

Anything which freely uses the object system.

UML users would expect, for instance, that methods are properties of classes.
But in a UML diagram showing the class structure of a CLOS program, generic
functions ought to stand on their own as independent classifiers.

This means that you wouldn't write a box representing a class, and
then fill in methods. You would have a box representing a class, with
only data members. Then boxes representing generic functions, containing
methods.

Needless to say, this would not be understood by most of the UML-spewing
population.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
ilias  
View profile  
 More options Oct 6 2002, 9:17 am
Newsgroups: comp.lang.lisp
From: ilias <at_n...@pontos.net>
Date: Sun, 06 Oct 2002 16:26:38 +0300
Local: Sun, Oct 6 2002 9:26 am
Subject: Re: UML.tools.limits
thread continues here:

http://groups.google.com/groups?selm=3D5A4EA0.3000...@pontos.net

-


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »