Tools and notation to design sofware in Go

huangapple go评论81阅读模式
英文:

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.

huangapple
  • 本文由 发表于 2014年4月18日 10:03:12
  • 转载请务必保留本文链接:https://go.coder-hub.com/23146314.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定