4 ms·
> Why is crashing useful for stability? It's not crashing that's useful - it's crashing being expected that's useful. If your program expects to be crashed, it
by bheadmaster 4y ago
> Why is crashing useful for stability?
It's not crashing that's useful - it's crashing being expected that's useful. If your program expects to be crashed, it will be written in a way that allows it to continue operating no matter what happens. And if there's any error that could cause it to malfunction, it can just crash, re-start and continue.
In contrast to many programs that crash, then refuse to start because of corrupted data or what not.
> any error that crashes the program is fatal by definition
But not every error that is fatal crashes the program :)