by xyzzy_plugh · 3y ago · 0 comments
Sum types have been discussed since before the initial open source release of the language, at least according to some of the issue threads such as https://github.com/golang/go/issues/19412
If they're laughably simple, then please contribute a proposal for how to add them to the language. You'll find no one is really fighting against the concept of sum types.
The thing which I am personally salty about is that they weren't there to begin with, and that the language wasn't built with them in mind.