qaz@lemmy.world to Programmer Humor@lemmy.mlEnglish · 3 years agoWhy use if/else when you can use try/if/catch?lemmy.worldimagemessage-square6linkfedilinkarrow-up178arrow-down18
arrow-up170arrow-down1imageWhy use if/else when you can use try/if/catch?lemmy.worldqaz@lemmy.world to Programmer Humor@lemmy.mlEnglish · 3 years agomessage-square6linkfedilink
minus-squareHairHeellinkfedilinkEnglisharrow-up2·3 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
catchin the screenshot. Maybe this block just has afinallythat cleans some things up before the exception is thrown?