Mac@programming.dev to Python@programming.dev · 1 year agoPython errors as valueswww.inngest.comexternal-linkmessage-square17fedilinkarrow-up145arrow-down13cross-posted to: [email protected]
arrow-up142arrow-down1external-linkPython errors as valueswww.inngest.comMac@programming.dev to Python@programming.dev · 1 year agomessage-square17fedilinkcross-posted to: [email protected]
minus-squaresebsch@discuss.tchncs.delinkfedilinkarrow-up2arrow-down1·1 year agoThe words errors, go and usefull do not match in my brain. If there is a way not to implement error handling, it would clearly be go’s implemenation.
minus-squareEager Eagle@lemmy.worldlinkfedilinkEnglisharrow-up3·1 year agono, there’s no better error handling than writing if err != nil { return err } after every line of code, this is clearly the superior way /s
The words errors, go and usefull do not match in my brain.
If there is a way not to implement error handling, it would clearly be go’s implemenation.
no, there’s no better error handling than writing
if err != nil { return err }
after every line of code, this is clearly the superior way/s