Mac OS X with MacPorts

  • sudo port install go
  • export GOROOT=/opt/local/lib/go
  • export GOPATH=/opt/go
  • export PATH=$GOPATH/bin:$PATH
  • mkdir -p /opt/go && chown arto:staff /opt/go



Much like Java a decade prior, Go was designed by experienced programmers for inexperienced programmers to use:

"The key point here is our programmers are Googlers, they're not researchers. They're typically, fairly young, fresh out of school, probably learned Java, maybe learned C or C++, probably learned Python. They're not capable of understanding a brilliant language but we want to use them to build good software. So, the language that we give them has to be easy for them to understand and easy to adopt."

"It must be familiar, roughly C-like. Programmers working at Google are early in their careers and are most familiar with procedural languages, particularly from the C family. The need to get programmers productive quickly in a new language means that the language cannot be too radical."