qaz@lemmy.world to Programmer Humor@lemmy.mlEnglish · 1 year agoWhy use if/else when you can use try/if/catch?lemmy.worldimagemessage-square6fedilinkarrow-up176arrow-down18
arrow-up168arrow-down1imageWhy use if/else when you can use try/if/catch?lemmy.worldqaz@lemmy.world to Programmer Humor@lemmy.mlEnglish · 1 year agomessage-square6fedilink
minus-squareHairHeel@programming.devlinkfedilinkEnglisharrow-up2·1 year 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?