Get the latest tech news

Idiomatic Go (2016)


When reviewing Go code, if I run into a situation where I see an unnecessary deviation from idiomatic Go style or best practice, I add an entry here complete with some rationale, and link to it. I can do this for the smallest and most subtle of details, since I care about Go a lot.

When reviewing Go code, if I run into a situation where I see an unnecessary deviation from idiomatic Go style or best practice, I add an entry here complete with some rationale, and link to it. For consistency, and because the no space style is reserved for comment pragmas, for example: Notice how "example", "image", "player" folder names simply contain many related packages, yet they use singular form.

Get the Android app

Or read this on Hacker News