mac@programming.dev to Python@programming.dev · 1 year agoPython errors as valueswww.inngest.comexternal-linkmessage-square27fedilinkarrow-up139arrow-down13
arrow-up136arrow-down1external-linkPython errors as valueswww.inngest.commac@programming.dev to Python@programming.dev · 1 year agomessage-square27fedilink
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