Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I fail to see it like that.

It is not listed here:

http://google-styleguide.googlecode.com/svn/trunk/

These guides are much more than just what gofmt does.

In a Google IO conference talk someone stated that the Google App Engine support was actually made by the Go team.

Not all new APIs released by Google tend to offer Go APIs as well from day 1.

So I miss the official language support that you say already exists.



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.


Fare 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.


I imagine the Go style guide would also largely boil down to 'use `go fmt`'.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: