2 ms·
Setting aside my personal opinions. I think it's safe to say that there are pros and cons to exceptions versus error values. But, I think it's even more safe t
by Buttons840 5y ago
Setting aside my personal opinions. I think it's safe to say that there are pros and cons to exceptions versus error values.
But, I think it's even more safe to say that error values are not a silver bullet that inevitably lead to robust code. As mentioned I'm personally dealing with some very poorly done error values right now. I resent the idea that error values "force" robust code (I wish that force was in effect on my own project), or "just works so well."
They're really not that different, the two approaches.