qaz@lemmy.world to Programmer Humor@lemmy.mlEnglish · 1 year agoWhy use if/else when you can use try/if/catch?lemmy.worldimagemessage-square6fedilinkarrow-up178arrow-down18
arrow-up170arrow-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-squareHairHeellinkfedilinkEnglisharrow-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?