News for hackers. Stuff that matters.
Re:Go at SoundCloud by redbad on Tuesday July 24, 2012 @12:02PM (#4286245)

    The problem is it's no better than C
Multiple return values are pretty clearly better than C. The comma-OK or comma-err idiom is verbose, but powerful and unambiguous.
Re:Go at SoundCloud by AnswerAndForget on Tuesday July 24, 2012 @12:37PM (#4286417)
A well known and tested approach, sum types (tagged unions), would have been way better, but it was cast aside because the designers were apparently unaware of the improvements to union types made since C's inception:

http://www.reddit.com/r/programming/comments/w1ig0/things_i_...

Re:Go at SoundCloud by jongraehl on Tuesday July 24, 2012 @01:15PM (#4286693)
There is no reason for any new language to lack tagged union types. It disturbs me that Brian Cox rejects a simple, proven language feature that he does not even understand, even though it would take all of 2 minutes of searching/reading to understand. I'm sure he spent at least that long composing the replies in that thread, never moving past the ego-threat of "will Go ever have X?" to honestly evaluate the question.
Re:Go at SoundCloud by skybrian on Tuesday July 24, 2012 @06:50PM (#4288455)
"There is no reason for any new language to lack X" is false for all X. Languages differ in their goals, and there's no feature that all languages have to have. Even basic features like assignment can be questioned.
Re:Go at SoundCloud by thebigshane on Tuesday July 24, 2012 @07:14PM (#4288566)
*Russ Cox
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.
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?
Re:Go at SoundCloud by dsymonds on Wednesday July 25, 2012 @11:19PM (#4294227)
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.