mac to Python • 8 months agoPython errors as valueswww.inngest.comexternal-linkmessage-square18arrow-up147arrow-down13
arrow-up144arrow-down1external-linkPython errors as valueswww.inngest.commac to Python • 8 months agomessage-square18
minus-square@[email protected]linkfedilink1•8 months 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 EaglelinkfedilinkEnglish3•8 months 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