Beauty of the Go Programming Language
hackernoon.com
hackernoon.com
Go already has struct obviously ( product types) so all it would need is sum types, which is only a bit more elvolved than its current enums. Of course, you woulf need enum’s cases to be of different types, but at least from a user pov it doesn’t seem to involve generics, does it ?
ADTs on the other hand are ther to help you model your data better.
I thought Go programs can run on different machines supporting the same machine code because many (most, I don't know) Go programs are statically linked.