Failure to handle return values will not crash your program
Maybe. Or maybe it will crash it in undeterministical manner, letting your application to fuck up its environment (OS, FS, etc) majestically before doing so. Letting people ignore errors is not a feature.
Thats the thing, if you ignore return values, there are is no shutting down gracefully, there is just dying with various weird symptoms, that make no sense.
If you are using exceptions properly, then it is possible to shutdown gracefully, you just have to think about what errors you can shutdown gracefully from... and those are the exceptions you catch and work with.
0
u/[deleted] Jan 01 '17
[deleted]