3 ms·
> Don't write code to handle random bitflips It depends what you're doing. There's no fixed threshold for "errors that you should handle" so smackeyacky is rig
by IshKebab 4y ago
> Don't write code to handle random bitflips
It depends what you're doing. There's no fixed threshold for "errors that you should handle" so smackeyacky is right - handle the errors you can (but don't spend an inordinate amount of time handling very unlikely errors).
Bitflips are not very unlikely on huge systems so you need to handle them.
In my experience trying to distinguish between "expected" or "normal" errors and "unexpected" or "exceptional" errors is pointless and impossible. It's better to think about the likelihood of errors.
- TameAntelope 4y agoHandle errors you should. Don’t handle errors that aren’t relevant to your specific code.