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-squarelowleveldatalinkfedilinkEnglisharrow-up14·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-squarewvenable@lemmy.calinkfedilinkEnglisharrow-up1·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…