3 ms·
Yeah, I found it quite bizarre as well. Also, the panic()/recover() looks more like they decided to unify assert with setjmp/longjmp rather than exceptions sin
by decker 11y ago
Yeah, I found it quite bizarre as well. Also, the panic()/recover() looks more like they decided to unify assert with setjmp/longjmp rather than exceptions since catching only occurs after your function exits which is pretty much equivalent to having the entire function wrapped in a try-catch block, making it less useful.