News for hackers. Stuff that matters.
Re:Go proposal: Leave “if err != nil” alone? by erik_seaberg on Friday June 28, 2019 @03:57PM (#20308259)
When people don't care, you have to make doing it right easier than doing it wrong.
Re:Go proposal: Leave “if err != nil” alone? by clinta on Saturday June 29, 2019 @12:41AM (#20310850)
Or at least force it to be an intentional decision to do it wrong, which go does. Exceptions permit the programmer to be unaware that the function they're calling could throw an exception.