2 ms·
"the error handling model in Go sounds pretty badly broken." That is a massive, damning statement. Please don't make such claims without backing them up. Sprea
by enneff 16y ago
"the error handling model in Go sounds pretty badly broken."
That is a massive, damning statement. Please don't make such claims without backing them up. Spreading such ignorance is damaging to the project.
Go's error handling model is simple: handle the error immediately, panic, or ignore it. A panic can be recovered, similar to catching an exception.
Just because you heard someone whining that Go is not like their favourite language doesn't mean you should go around claiming it's "pretty badly broken." What an insult!
- vilya 16y agoGiven the tone of your post I can't tell whether you're genuine or just trolling, but see my reply to papaf (it was just below, at time of writing) for more details about what I think is broken in it, if you're interested. Of course if you are trolling, then congratulations on getting a response from me.