165 points · by manveru · 14y ago · 33 comments
mbar:src shephard$ sudo go get code.google.com/p/go-tour/gotour
Password:
# cd .; hg clone -U https://code.google.com/p/go-tour
/usr/local/go/src/pkg/code.google.com/p/go-tour
package code.google.com/p/go-tour/gotour: exec: "hg":
executable file not found in $PATHThe particular problem you have is you need mercurial installed on your system to use "go get" with mercurial repositories.
I think I first noticed that tendency in general, though there are doubtless lots of earlier examples, when Clay Shirky's Cognitive Surplus and Nicholas Carr's The Shallows were simultaneous best-sellers. On the question of how modern technology/networking impacts cognition, it seems the two positions that sell a lot are: "it's awesome for cognition!" and "it's horrible for cognition!"
Perhaps people should just think of Go as one of those languages to learn in order to broaden their programming experience, not whether it's going to be the new rockstar programming trend. It's almost as if the HN community is trying to vote for the web stack that is sanctioned after rails then node.js!
Go's differences to other languages are enough for it to qualify as a language to learn as one of the many languages to try out.
While languages don't get better over time they do change which means that there are more of them, which means it is more likely that you will find some that suit you.
On one hand, I can definitely look at C# right now and see how it is a vast improvement upon C# 1.0. I'll even go as far as to say I would probably refuse to write code in C# if it had not become what it is today.
On the other, I think you can only really change a language up to a certain degree before creating an inconsistent mess. If trends in the future dictate the need for a shift in paradigms, the extent to which existing languages can accommodate this shift is probably limited. I mean, you can often incorporate features that are based on the new approach to thinking about a problem, but once you start changing the core semantics of the language you're probably going to be better off with something completely new.
As for Go's use at Google, Go already powers some of our core infrastructure. For example, the YouTube team recently published one of their core services as an open source project: http://code.google.com/p/vitess/