Nowadays, it is best practice to generate code from a DSL, which is simpler to use than a generalpurposelanguage like UML.
现在,最佳操作方式是从一个 DSL 生成代码,它要比使用像 UML 这样的目标语言更简便。
2
That's because the generalpurposelanguage (like C#) does not tell you how to use it or what it should be used to describe, it has no bounds. The domain of things it can describe is so vast.