It's been another busy year for our favourite Gopher and to close out the year, we've taken a look at the data from the popular Golang Weekly newsletter.
The email newsletter is read by over 29,000 developers — here's a look at what they clicked on in 2019:
The Go highlights of 2019:
Dave Cheney shared this thorough list of best-practice advice for writing Go code, covering indentifiers, package design, project structure, error handling and more. Good stuff.
This report, characterized as the “first systematic study” of its kind, looks at popular Go applications (think Docker, Kubernetes, etc.), analyzing 171 concurrency bugs, their fixes, and if they are reproducible.
Simply calling this an "overview" seemed a little insufficient. This well-received tome of information detailed how to use Go to do just about everything from linting to rewrite rules to stress testing. Bookmark this one.
We're still waiting on Go 1.14, but it seems there is plenty of interest in the next major release (a beta is available now). This tweet thread highlighed what to expect. A popular slidedeck from Daniel Martí also ran through some personal picks on what's looking good in the upcoming release.
This document outlines best practices for writing optimized and performant Go code. It's been updated several times over the years and remains a popular resource. It's avaialble in English, Spanish and Chinese.
In this article from May, Kevin Goslar makes several worthwhile points about the characteristics that give Go an advantage in building large-scale software projects.
Back in July, following a lot of feedback from the wider community the Go Core Team declined a proposal for a
try built-in Go error check function due to it "not targeting a worthwhile problem".
In this blog Teiva Harsanyi listed some of the most common mistakes he sees in Go projects, including problems with benchmarking and pointers, confusion using
break, slice initialization, and variable shadowing.
A popular article with a handful of "techniques you can use to significantly improve the performance of your program with little effort".
Want more Go?
Join over 25,000 developers and sign up for Golang Weekly. A free weekly newsletter about the Go programming language.