Re:The Cost of Exception Handling
by jrochkind1 on Saturday November 12, 2022 @10:23AM
(#33573897)
Sure that works for application code; for library code, you are raising an exception so that the application code can decide the domain-specific thing to do that the person reading the log message would do. Exceptions are raised by code that can be used in multiple contexts, where the person reading the log message would be doing entirely different things.
[ Parent
| on HN ]
There are no comments on this comment yet.