RSS Amplifier

A14M · Mar 30, 2024

Clean code and the exception handling

0
Sign in to vote or save

This page cannot be shown here. You can still read it on the original site — the toolbar below keeps your place in the directory.

Exceptions are as old as programming itself. Back in the days when programming
was done in hardware, or via low-level programming languages,
exceptions were used to alter the flow of the program,
and to avoid hardware failures. Today, Wikipedia defines exceptions as: 
 
 the process of responding to the occurrence of exceptions
– anomalous or exceptional conditions…

Exceptions are as old as programming itself. Back in the days when programming was done in hardware, or via low-level programming languages, exceptions were used to alter the flow of the program, and to avoid hardware failures. Today, Wikipedia defines exceptions as:

the process of responding to the occurrence of exceptions – anomalous or exceptional conditions requiring special processing – during the execution of a program. In general, an exception breaks the normal flow of execution and executes a pre-registered exception handler…

Read on /blog/exception-handling/

Comments

Nothing yet. Say the first thing.

    Sign in to join the conversation.