cm0002@lemmy.world to Programmer Humor@programming.dev · 3 days agoYes, But...lemmy.mlimagemessage-square84fedilinkarrow-up1756arrow-down19cross-posted to: programmerhumor@lemmy.ml
arrow-up1747arrow-down1imageYes, But...lemmy.mlcm0002@lemmy.world to Programmer Humor@programming.dev · 3 days agomessage-square84fedilinkcross-posted to: programmerhumor@lemmy.ml
minus-squaredanAlinkfedilinkarrow-up5·2 days 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.