qaz to Programmer Humor@lemmy.mlEnglish • 2 years agoWhy use if/else when you can use try/if/catch?lemmy.worldimagemessage-square5fedilinkarrow-up173arrow-down17
arrow-up166arrow-down1imageWhy use if/else when you can use try/if/catch?lemmy.worldqaz to Programmer Humor@lemmy.mlEnglish • 2 years agomessage-square5fedilink
minus-square@HairHeel@programming.devlinkfedilinkEnglish2•2 years agoI don’t see a catch in the screenshot. Maybe this block just has a finally that cleans some things up before the exception is thrown?
I don’t see a
catch
in the screenshot. Maybe this block just has afinally
that cleans some things up before the exception is thrown?