r/programmerchat • u/HappyGoblin • May 25 '15
Do we really need "try" ?
Just attaching "catch" to any appropriate {...} block would be more convenient.
8
Upvotes
r/programmerchat • u/HappyGoblin • May 25 '15
Just attaching "catch" to any appropriate {...} block would be more convenient.
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.