Wow, I wouldn't have expected that. Do you have a reference for the 30%? I'd like to see what is going on to cause that big of a difference.
if err != nil {
... error handling ...
}
Python just uses exceptions, and they bubble up. No need for this excessively verbose error checking.Go is more verbose. It also gives you the wonder of the compiler telling you about doing stupid things. That doesn't make it a worse language.
https://go.googlesource.com/proposal/+/master/design/go2draf...
See the bits about error handling and error values.
The go2 proposal shows that in this respect, he was woefully wrong.