eli5: In programming, how does using “try and except/catch” blocks stop the program from crashing?

1.08K views

eli5: In programming, how does using “try and except/catch” blocks stop the program from crashing?

In: 10

20 Answers

Anonymous 0 Comments

It allows your program to run even when an exception (a kind of error) is thrown, it allows you to tell the program to do something else if it runs into an error instead of dying completely or continuously retrying.

You are viewing 1 out of 20 answers, click here to view all answers.