Wednesday, January 12, 2005

Unified Modelling Language

Yesterday I was surprised to receive a mail from a student of engineering asking if I could help clarify some doubts, that she had, about the UML. Well Yes I obliged. She had about 6 questions of which two of them caught my attention.

* From the sequence diagram(drawn to a underlying software but not the GUI) how to synthesis .h &.c files for a frame work?
* Can i have a sequence diagram without a actor?if i can how to represent a external event generating the request?

I couldnt understand the 1st question, but was pretty sure that this dame was using OOAD and UML to design something that was to be implemented in the "C" language. The mention of .h and .c files indicated this. She also went on to explain that she had trouble in maintaing state chart diagrams. What else can you expect when you use OOAD for a non object oriented language like "C"?

Now on to the second question. Well its not possible to have a sequence diagram without an actor but by asking this question she just showed that the procedure of gathering requirements, analysing and decomposing was not followed. Pity that this project is part of her curriculum.

No comments: