|
|
|
|
|
by Buttons840
1863 days ago
|
|
Thanks for the answer. It sounds like pretty much the same thing good exception handling would do. I suppose they're two sides of the same coin. Both can be done well or poorly. I do resent the idea that error values are automatically better or easier to understand, because I'm dealing with some poorly done error values now and wishing for traditional exception handling. |
|
Either is fine, I think. But, don't mix both in the same codebase. And with exceptions, I would really like Common Lisp-style restartable errors, to get the flexibility I feel I have with error values.