Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Ask HN: Who is using Go language?. Parent comment
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 )
There are no comments on this comment yet.
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 )