qaz@lemmy.world to Programmer Humor@lemmy.mlEnglish · 2 years agoWhy use if/else when you can use try/if/catch?lemmy.worldimagemessage-square6fedilinkarrow-up173arrow-down18
arrow-up165arrow-down1imageWhy use if/else when you can use try/if/catch?lemmy.worldqaz@lemmy.world to Programmer Humor@lemmy.mlEnglish · 2 years agomessage-square6fedilink
minus-squarekaty ✨@lemmy.blahaj.zonelinkfedilinkEnglisharrow-up1·2 years agoWhy use try/if/catch when you can use try/if/switch/catch?
Why use try/if/catch when you can use try/if/switch/catch?