qaz@lemmy.world to Programmer Humor@lemmy.mlEnglish · 1 year agoWhy use if/else when you can use try/if/catch?lemmy.worldimagemessage-square7fedilinkarrow-up180arrow-down18
arrow-up172arrow-down1imageWhy use if/else when you can use try/if/catch?lemmy.worldqaz@lemmy.world to Programmer Humor@lemmy.mlEnglish · 1 year agomessage-square7fedilink
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?