|
|
|
|
|
by tialaramex
1141 days ago
|
|
> exceptions are misused to handle common and unexceptional non-success cases. This is my insurmountable objection to Exceptions. What people will tell you is that you should only use Exceptions for "real" error conditions which should be rare, but the problem is that the people deciding whether to use Exceptions are writing some library, whereas the people who know whether this is a rare condition are the application writers, using that library only second or third hand, or maybe via some third party component. You might as well provide a language where the primitive integer types don't have a specified size so programmers don't know if numbers will fit in them... ... oh right yeah. That checks out. |
|