News for hackers. Stuff that matters.
Re:C’s Biggest Mistake by kaba0 on Monday July 03, 2023 @01:03AM (#36569104)
> Go has a reasonable and remarkably lightweight approach here

Go literally hardcoded the same error-prone errno-like error handling, it just has some syntax sugar now. It still doesn’t compose, is unreadable and gives only the impression of properly handled error cases. It even fails to return a proper sum type, so now you get a possible important value and an error value as well.

There are no comments on this comment yet.