3 ms·
Go does not have exception handling at all. It is a proposal they're seriously considering for go2: https://go.googlesource.com/proposal/+/master/design/go2dra
by SEJeff 8y ago
Go does not have exception handling at all. It is a proposal they're seriously considering for go2:
https://go.googlesource.com/proposal/+/master/design/go2draft.md https://go.googlesource.com/proposal/+/master/design/go2draf...
See the bits about error handling and error values.
- samfisher83 8y agoWhat was the reason the go designers didn't have exception handling?
- SEJeff 8y agoRead Rob Pike's post on why: https://commandcenter.blogspot.com/2012/06/less-is-exponentially-more.html https://commandcenter.blogspot.com/2012/06/less-is-exponenti... The go2 proposal shows that in this respect, he was woefully wrong.