Linked by fran on Fri 22nd Jul 2011 21:02 UTC
Google "Now everyone can use Google's Go language on the company's App Engine cloud platform as the company has announced that the Go runtime, which has been in development since it was announced at Google I/O, is now generally available."
Permalink for comment 482176
To read all comments associated with this story, please click here.
RE: As a programmer...
by jessta on Mon 25th Jul 2011 05:29 UTC in reply to "As a programmer..."
Member since:

the "Defer/Panic/Recover" error was significantly harder than I expected (mostly because of exception handling)

This was probably your problem. Panic/Recover aren't used for error handling. They are used for handling exceptional situations that the programmer wasn't expecting and thus the program can't handle(usually programmer error). It's intentionally annoying to use to discourage people over using it.

Idiomatic error handling in Go is done using the multiple return statements and checking for returned error values. There are a few tutorials on the website and the language spec is easy to read. The standard library documentation is pretty good(far better than the vagueness of php's docs), but some examples might help new devs.

Reply Parent Score: 2