A few days ago, Tatiana Fesenko asked me my opinion on how to use UML to model functional code. My honest answer that I had no f*** idea but that we could ask you to give your view on this. So, this is her question:
Unified Modeling Language (UML) is probably the first language which comes to our minds when we are talking about modeling, but it is tightly related to the object-related paradigm. Is it really applicable to functional languages? Some people suggest using state-machine, activity or sequence for functional languages, but they only describe behaviour, not structure. Maybe, UML is not the best choice for functional languages then. How can we model the structure of programs written in functional style?
This question was asked on StackOverFlow more than three years ago, but no “good” answer was given at that time. In the modern world of distributed teams successful communication is essential. Visualizing code is one of the ways of communication between developers. Which techniques do you, readers of the Software Modeling Blog, use to visualize functional code?
So, can you help? Anybody has any experience on this?