2 ms·
I typically see developers get stuck in one of the 5 stages of error handling. Denial: There won’t be an error, no need to catch anything. If an error happens
by xwdv 6y ago
I typically see developers get stuck in one of the 5 stages of error handling.
Denial: There won’t be an error, no need to catch anything. If an error happens just keep running it’s fine.
Anger: Fuck this shit! Just delete this code, there’s gotta be a better way, a better library, a better language!
Bargaining: What about a graceful fall back? Or maybe some kind of user prompt, or perhaps make it a feature!?
Depression: There’s nothing we can do about it, we’ve thought of everything.
Acceptance: Crash the program.