Hacker News new | ask | show | jobs
by zozbot234 2321 days ago
Doesn't Go have panic-recover which is basically the same deal?
1 comments

Panic/recover are much more limited and while you can build an exception system from them (much like all turing complete things can be all other turing complete things) it is a pain and extremely inefficient. So panics do exist and are used for I/O errors sometimes but it's quite inconsistent.