英文:
Tools and notation to design sofware in Go
问题
UML被用于设计面向对象的软件,但是使用Go语言开发的程序并不是100%面向对象的。在Go语言中,用于设计软件的工具和符号有哪些?例如,类图的等价物是什么,也许是结构图或序列图?我可以使用哪些工具来创建这些图表?
英文:
UML is used to design Object-oriented software, but programs that are going to be developmed in Go are not 100% Object-oriented. What tools and notation are used to design software in Go? E.g. what is the equivalent to class diagrams, maybe a struct diagram or sequence diagram? What tools could I use to create such diagrams?
答案1
得分: 1
UML远非仅限于面向对象的语言,即使是最“面向对象”的图表,类图。UML定义了语法规则,但通过使用构造型机制(以及其他元素,如标记值),其语义解释非常可扩展。
您甚至可以使用类图,最终为Go创建一个UML配置文件。
英文:
UML is far from being restricted to OO languages, even the most "OO diagram", class diagram. UML defines syntactic rules, but the semantic interpretation is very extensible using stereotypes mechanism (and other elements, e.g. tagged values).
You can even use class diagrams, eventually first creating a UML profile for Go.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论