News for hackers. Stuff that matters.
Re:Go Is a Well-Designed Language by LtWorf on Friday January 31, 2025 @02:47AM (#42885486)
> can look at a codebase and quickly get a sense of what's going on

I don't even need to look. Error checking is going on :D

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.