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.
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.
- 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.