HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by bpp | Hacker News Reader
Parent
Full thread
bpp
·
Go has the empty interface, if you really need it.
View on HN
majewsky
·
The empty interface is not an unchecked exception, but panic() is.
https://golang.org/pkg/builtin/#panic
nardi
·
I don’t actually know Go, but can panic() be caught? If not, it’s not an exception.
ovao
·
With recover(), yes.
Reply on news.ycombinator.com