1
alex111
7y

What's the difference between using try catch and if else statements,why did they even invent it?

Comments
  • 5
    There are cases where if's are not enough. Exceptions are just another level of abstraction.
  • 5
    try: a programming term that is equal to "hold my beer", or "mommy watch this".
  • 2
    Think of it as a "I might not come back alive from this block" and code defensively.
Add Comment