4 ms·
The point is that an exception in Go world means: something which should not ever happen, and which renders continued execution impossible. IMO recover should o
by joncooper 13y ago
The point is that an exception in Go world means: something which should not ever happen, and which renders continued execution impossible. IMO recover should only be used to wind down execution in as graceful a manner a possible prior to terminating the program.
As opposed to an error, which can and will happen.
- aaronblohowiak 13y agowe should rename recover to "log this before terminating the process"