cm0002@lemmy.world to Programmer Humor@programming.dev · 2 months agoYes, But...lemmy.mlimagemessage-square77fedilinkarrow-up1766cross-posted to: [email protected]
arrow-up1766imageYes, But...lemmy.mlcm0002@lemmy.world to Programmer Humor@programming.dev · 2 months agomessage-square77fedilinkcross-posted to: [email protected]
minus-squaredan@upvote.aulinkfedilinkarrow-up5·2 months agoThrowing exceptions is fine since errors are an exceptional circumstance (not expected during normal use of the app), and you probably want errors to follow a different code path so that they can be logged, alerts triggered if needed, etc.
Throwing exceptions is fine since errors are an exceptional circumstance (not expected during normal use of the app), and you probably want errors to follow a different code path so that they can be logged, alerts triggered if needed, etc.