Re:Go at SoundCloud
by dsymonds on Tuesday July 24, 2012 @11:40PM
(#4289253)
You're jumping to a false conclusion that Go's designers were not aware of those language features, and that that was the reason why they aren't in Go.
[ Parent
| on HN ]
Re:Go at SoundCloud
by AnswerAndForget on Tuesday July 24, 2012 @11:48PM
(#4289273)
Care to give an alternative explanation to the contents at the other side of the URL I gave?
You said that sum types were omitted from Go because the designers were not aware of more recent developments. That's not true. They were omitted because they do not mesh well with the other features of the language, such as zero types, interfaces and embedding.
Whether you agree with that latter point is moot. Go's designers were and are fully aware of sum types; they chose to omit them from Go for a reason, not because they were ignorant of their existence.