4 ms·
What's wrong with handling errors with status codes as opposed to exceptions? Just because it exists doesn't mean one has to use it, no?
by checker659 13y ago
What's wrong with handling errors with status codes as opposed to exceptions? Just because it exists doesn't mean one has to use it, no?
- nly 13y agoExceptions allow you to leverage value semantics and safe reference semantic abstractions like smart pointers. If you fail to handle them properly you will also discover bugs a lot sooner.