News for hackers. Stuff that matters.
Re:Declined Proposal: A built-in Go error check function, “try” by qtplatypus on Wednesday July 17, 2019 @02:07AM (#20456925)
The error was just ignored. if doThing() had some side effect that doOtherThing() depended on then you will never know why doOtherThing() isn't working the way you expect it to be.
Re:Declined Proposal: A built-in Go error check function, “try” by didibus on Wednesday July 17, 2019 @03:51AM (#20457403)
Ya that seems pretty unsafe to me. I'm not sure then why others suggest the Go error handling makes things safer. Silent failures have always been some of the most impacting issues in the systems I've maintained. They cause slow corruption and they take a long time to be found, at that point, the damage is done and hard to revert.