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

1.24K views

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

In: 10

20 Answers

Anonymous 0 Comments

Ever written a program where the way to handle errors is by if(condition)goto err? Well, modern compilers are a wee bit smarter and can do this crap for you. Its still in effect doing the same thing.

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