|
|
|
|
|
by 9rx
331 days ago
|
|
The best way to think about exceptions is to consider the term literally (as in: unusual; not typical) while remembering that programmers have an incredibly overinflated sense of ability. In other words, exceptions are for cases where the programmer screwed up. While programmers screwing up isn't unusual at all, programmers like to think that they don't make mistakes, and thus in their eye it is unusual. That is what sets it apart from environmental failures, which are par for the course. To put it another way, it is for signalling at runtime what would have been a compiler error if you had a more advanced compiler. |
|