3 ms·
Google had four canonical languages: C++, Go, Java, and Python. They are defined internally in an engineering handbook. There is no such similar style guide for
by enneff 14y ago
Google had four canonical languages: C++, Go, Java, and Python. They are defined internally in an engineering handbook. There is no such similar style guide for Go, as a a lot of what the existing guides say is "don't use x." If that were needed for Go we would have failed.
- stock_toaster 14y agoI imagine the Go style guide would also largely boil down to 'use `go fmt`'.
- pjmlp 14y agoFare enough. > If that were needed for Go we would have failed. Why? Even with Go there are many ways to do certain things. I can imagine given the language's youth not everyone would write the code the best way. I know the few times I did some Go coding, I was most likely not good enough to the canonical style.