Hacker News new | ask | show | jobs
by LtWorf 497 days ago
> 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

1 comments

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.
70% of any code is handling errors. It's awful (and by handling I mean just passing them to the calling function).

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