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-squarelowleveldata@programming.devlinkfedilinkEnglisharrow-up14·1 year agoWhy use goto when you can throw exceptions to escape nested for loops?
minus-squarefiah@discuss.tchncs.delinkfedilinkEnglisharrow-up7·1 year agoexceptions are just fancy gotos
minus-squarewvenable@lemmy.calinkfedilinkEnglisharrow-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…