Tagged Questions
0
votes
2answers
42 views
function level error reporting: to combine/bundle errors or not?
What is in your opinion the best way to handle (at runtime) the situation when a more than one input parameter to a function is incorrect.
I can see two ways.
First one - a simply return an first ...
4
votes
1answer
144 views
Why is nesting or piggybacking errors within errors bad in general?
Why is nesting or piggybacking errors within errors bad in general?
To me it seems bad intuitively, but I'm suspicious in that I cannot adequately articulate why it is bad. This may be because it is ...
1
vote
6answers
292 views
Catching an error?
Is catching an error with try ... catch a better practice than catching an error with proper analysis/error check? For instance, removing from an empty list: Does surround with a try catch clause ...