|
|
|
|
|
by 9rx
222 days ago
|
|
> Do you doubt you can use exceptions for control flow? The same way you can use bugs for control flow, I suppose, given that bugs and exceptions are different categories within the same general idea of programmer mistakes. With bugs, of course, being mistakes around "business" rules, and exceptions being mistakes made around computing environment rules. > Of course you need to combine with exception handlers. How do you combine a programmer making a mistake with exception handlers? Exception handlers only exist inside programming languages. Are you under the impression that programmers also live inside programming languages? That's... interesting. |
|
For me, bugs are all mistakes which manifest themselves in software misbehaving. Maybe it surfaces by a program crash of an uncaught exception or an error message presented to the user, a program termination, a wrong result, ...
> How do you combine a programmer making a mistake with exception handlers?
I write a bug leading to an exception sometimes and catch the exception, then try the operation again, or show an error to the user