-3

I found by studying computer science that there are UML diagrams. I found them useful but sometimes too slow to draw. Is there some alternatives to UML that does the same but is easy to type for example to mail. I do not mean something like LaTeX-code that one can compile to diagrams but something similar as we have in mathematics where all Euclidean geometry shapes has a rigorous definition.

  • 2
    I'm voting to close this question as off-topic because it is not about teaching or learning: it is not a question about how to teach or learn (although it is something you are learning, one could say this about any question) Consider asking the question on one of our other sites. Such as stack-overflow. However if it can be reworded, answers could be useful to a teacher teaching a programming project. – ctrl-alt-delor Nov 21 '17 at 15:49
  • @ctrl-alt-delor Just out of curiosity: why answer a question if you think it should be closed? – Kevin Workman Nov 21 '17 at 16:33
  • @KevinWorkman I first answered it, then later realised (while going for a walk) that it was off topic. If you or someone else can rewrite, then it may be on topic. – ctrl-alt-delor Nov 21 '17 at 17:37

1 Answers1

1

There are many. UML is only one organisations attempt at creating a collection. Some of UML is useful, some is in there because committee members had a product to sell, some is only sometimes useful.

Some alternatives

  • BON Business object notation. Bon is good, BON is a notation for object oriented programming. It was originally part of Eiffel. It is designed to be reversible, with out loss. Eiffel ←→ BON.
  • And may others: I mainly use:
    • pipe-line diagrams.
    • layer diagrams.
    • custom, domain specific, diagrams.

Creating diagrams fast

However your question seems to be about speed.

Gone are the days where we had to create complex designs and then hand compile to machine code. Now we have high-level languages. A lot of what can be expressed in UML, can more easily be expressed in your chosen programming language.

Therefore use diagrams where they are useful, then go straight to programming. If you need UML diagrams, because your management, teacher, or exam board, insist on them, and you can not convince them of their error, or replace them. Then use a tool such as doxigen to convert your source code into UML diagrams.

ctrl-alt-delor
  • 10,635
  • 4
  • 24
  • 54