|
|
|
|
|
by penguindev
4480 days ago
|
|
The worst problem is that the destructor should not throw an exception (AFAIK). Thus, c++ RIAA is not perfect - can't use it for things that could fail. edit: some people use it for closing/flushing files, bad idea. edit 2: I judge a language in part by seeing if they actually can define nested / chained exceptions well. If they don't, they're probably not too serious about exception handling... |
|
What's an example of a language you like that does exceptions in a better way?