|
|
|
|
|
by koja86
3322 days ago
|
|
I am quite used to C++ exceptions and strongly favor them against error codes mainly because of error handling decoupling and the fact that exception (unlike return code) cannot be passively ignored - if you want to swallow it you need to do it rather explicitly. If you forget to handle exception it crashes loud and that I prefer. If anything I would be very please if we got advanced exception catchers in C++. Recently I drooled over Ada exception handling capabilities:
https://en.wikibooks.org/wiki/Ada_Programming/Exceptions#Exc... |
|