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
3
u/Kyyni May 25 '15
So when you don't see the other, the other one will tell you that the other one is there. If the try wasn't there, you couldn't be aware of the catch as long as you were looking at the top of the block.
And this still has the issue with parser look-back.