Hacker News new | ask | show | jobs
by aflag 1260 days ago
Exactly, that's the criticism. Many find exceptions better than explicitly handling errors, even when you just want to propagate them.
1 comments

Many others have contrary opinions. So this is just a subjective preference. If you like using exceptions, just don't choose Go. It is useless to criticize it. Go will not change for the criticism, and it is unable to change at this time point.
I wasn't suggesting go changes. I was just replying to

> > every error must be handled explicitly, and every control flow path must be made obvious, no matter how much verbosity this creates.

> Is this, bad? It is just the recommended way. You are not required to implement your code in this way.

Pointing out that it is not the recommended way, it is really the only sane way to do it in go. And, in my opinion, that's bad design.

Loop back: you can use the panic/recover way.

> ... that's bad design.

This is a subjective opinion. Many people don't think so.