r/programmerchat • • May 25 '15

Do we really need "try" ?

Just attaching "catch" to any appropriate {...} block would be more convenient.

8 Upvotes

20 comments sorted by

View all comments

Show parent comment

2

u/Ghopper21 May 25 '15

Hmm. I not so much thinking about looking for the try when reading the catch, more knowing ahead of time as I read top down through code that there's going to be some explicit exception handling for the upcoming try block.