News for hackers. Stuff that matters.
Re:Go Is a Well-Designed Language by nejsjsjsbsb on Friday January 31, 2025 @02:57AM (#42885528)
As it should be! Shame they didn't make the error type a sum type that forced you to check it isn't an error. I prefer that to exceptions. But the product type that Go uses is ok.
Re:Go Is a Well-Designed Language by guappa on Friday January 31, 2025 @07:26AM (#42886978)
70% of any code is handling errors. It's awful.

And no exceptions make it really easy to ignore errors instead. Which is much worse.