Design Away Error Cases


Design the code so that it’s not possible to have an error case. Instead of handling the error, structure the code so it’s not possible for the error to have happened.