Exceptions Aren’t Exceptional

Learn why exceptions aren’t exceptional and when it is better to use them.

Novice programmers tend to think of exceptions as only useful for exceptional circumstances. However, the definition of exceptional circumstances can be vague and subject to interpretation. Consider the following two functions:

Get hands-on with 1200+ tech skills courses.