News for hackers. Stuff that matters.
Re:A rough proposal for sum types in Go (2018) by eksapsy on Tuesday November 16, 2021 @04:35AM (#29238631)
This is a huge misunderstanding of what Sum types are. Someone already answered why multiple return types are completely different from sum types, I will also mention that a type is usually something that you define for variable types like int and string and structs, not only for what a function returns.

There are no comments on this comment yet.