The first thing I usually do in a new language is find out how people use it. With go and go fmt, I don't have to worry about most of it. (golint and go vet cover my other mistakes most of the time)
Did they just run fmt on it?
yes
I wonder what dropboxes reasoning is for not doing that in the first place.
Probably because Go indentation and spacing can be a little annoying at first when you're used to Python (or simply because they followed some kind of generic coding standard).
It took me a while to "give up" and find fmt-massaged code natural.
The first thing I usually do in a new language is find out how people use it. With go and go fmt, I don't have to worry about most of it. (golint and go vet cover my other mistakes most of the time)
The first thing I usually do in a new language is find out how people use it. With go and go fmt, I don't have to worry about most of it. (golint and go vet cover my other mistakes most of the time)