Yeah, but in C++ you get people ignoring exceptions too. I'm fine with return codes, I don't mind them even though exceptions are maybe a little bit better.
The "canonical" example people use a lot is std::bad_alloc. Often, there is no point in catching it -- what cleanup or fallback work are you planning to do when you can't even allocate memory?
Of course, silently swallowing exceptions with an empty catch-block is terrible.
Some other call I don't respect enough would probably bite my ass, though.
If you ignore or misuse error code, you carry on in a corrupted state.
Unfortunately people don't know about this possibility and write empty catch statements because "it's not going to happen anyway". Yeah right.
... and then you can just do `coredumpctl gdb` and start debugging right where things went wrong ?