News for hackers. Stuff that matters.
Re:Ask HN: Who is using Go language? by tutufan on Thursday May 31, 2012 @10:03PM (#4051529)
No exceptions. Like C, it's not failsafe. That is, if you don't check the error status of (say) I/O operations, you lose.
Re:Ask HN: Who is using Go language? by Ziomislaw on Monday June 04, 2012 @05:50AM (#4063276)
Well it depends, if you want a feature that is _called_ 'exception', than no, there is none.

If you want a feature that allows you to signal and catch errors, than:

* you can return Error as the second parameter from a function,

* you can panic and later defer a recover call (more info: http://blog.golang.org/2010/08/defer-panic-and-recover.html )