Re:Size cost of C++ exception handling on embedded platforms
by barrkel on Monday May 16, 2016 @09:10AM
(#11705996)
"program logic encoded in an exception handler is undeniably less easy to read than explicitly coded error cases"
For which category of exceptions? For interaction with non-deterministic systems where you can make a localized decision - and this is fairly rare - I'd agree with you. For all the other categories, I think you're wrong. If you never used exceptions in the other ways, this will of course colour your thinking.
For which category of exceptions? For interaction with non-deterministic systems where you can make a localized decision - and this is fairly rare - I'd agree with you. For all the other categories, I think you're wrong. If you never used exceptions in the other ways, this will of course colour your thinking.