People often give the advice that the best way to get better at any programming language is to write more programs. This is true at the start, but as you begin to get more comfortable with the language, the best way to improve is to read lots of other peoples code too.

Read More Go Code!


People often give the advice “the best way to get better at any programming language is to write more programs”. This is true at the start, but as you begin to get more comfortable with the language, the best way to improve is to read lots of other people’s code too.

Every week for 30 minutes I will find a repo on Github and just read it. I tend to start with the entry point (usually main.go) and look for interesting patterns and ideas to see what I can learn from them. Here are some of my favourites:

The sheer variety of ways Go can be used is amazing, and you’ll discover new patterns as you read them.

Try spending 30 minutes reading more Go code every week for the next month and let me know how you get on.