qaz@lemmy.world to Programmer Humor@lemmy.mlEnglish · 1 year agoWhy use if/else when you can use try/if/catch?lemmy.worldexternal-linkmessage-square6fedilinkarrow-up175arrow-down18
arrow-up167arrow-down1external-linkWhy use if/else when you can use try/if/catch?lemmy.worldqaz@lemmy.world to Programmer Humor@lemmy.mlEnglish · 1 year agomessage-square6fedilink
minus-squarelowleveldata@programming.devlinkfedilinkEnglisharrow-up15·1 year agoWhy use goto when you can throw exceptions to escape nested for loops?
minus-squarefiah@discuss.tchncs.delinkfedilinkEnglisharrow-up6·1 year agoexceptions are just fancy gotos
minus-squarewvenablelinkfedilinkEnglisharrow-up2·1 year agoExceptions are fancy returns. Everything else is fancy goto, including returns…
Why use goto when you can throw exceptions to escape nested for loops?
exceptions are just fancy gotos
Exceptions are fancy returns. Everything else is fancy goto, including returns…