3 ms·
Doesn't Go have panic-recover which is basically the same deal?
by zozbot234 7y ago
Doesn't Go have panic-recover which is basically the same deal?
- munk-a 7y agoPanic/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.