Y
Hacker News
new
|
ask
|
show
|
jobs
by
nejsjsjsbsb
499 days ago
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.
1 comments
guappa
499 days ago
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.
link
And no exceptions make it really easy to ignore errors instead. Which is much worse.