> There's [...] a bidirectional mapping between...
# linking-together
e
There's [...] a bidirectional mapping between the textual representation of a function in Ballerina syntax and the visual representation of the function as a sequence diagram. The sequence diagram representation fully shows the behavior of the function as it relates to concurrency and network interaction.
The closest analogy I can think of is Visual Basic. The visual model of a UI as a form is integrated with the language semantic to make writing a Windows GUI application much easier than before. Ballerina is trying to do something similar but for a different domain. You could think of it as Visual Basic for the Cloud.
From James Clark's blog post on Ballerina Programming Language concepts.
👍 2
They designed the language such that the diagrams they used to draw on whiteboards could be automatically generated from the source code. See: documentation for the sequence diagrams.