3 ms·
> 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 s
by kaba0 3y ago
> 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.