Mac@programming.dev to Python@programming.dev · 1 year agoPython errors as valueswww.inngest.comexternal-linkmessage-square18fedilinkarrow-up143arrow-down13cross-posted to: hackernews@derp.foo
arrow-up140arrow-down1external-linkPython errors as valueswww.inngest.comMac@programming.dev to Python@programming.dev · 1 year agomessage-square18fedilinkcross-posted to: hackernews@derp.foo
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-up1·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