AlexIT@programming.dev to Programming@programming.devEnglish · 2 months agoWhy I Prefer Exceptions to Error Valuescedardb.comexternal-linkmessage-square45fedilinkarrow-up171arrow-down111
arrow-up160arrow-down1external-linkWhy I Prefer Exceptions to Error Valuescedardb.comAlexIT@programming.dev to Programming@programming.devEnglish · 2 months agomessage-square45fedilink
minus-squareBatmanAoD@programming.devlinkfedilinkarrow-up1·2 months agoIt depends what kind of errors you’re talking about. Suppose you’re implementing retries in a network protocol. You can get errors pretty regularly, and the error handling will be a nontrivial amount of your runtime.
It depends what kind of errors you’re talking about. Suppose you’re implementing retries in a network protocol. You can get errors pretty regularly, and the error handling will be a nontrivial amount of your runtime.