Gayan Hewa


Learning Golang

Learning Golang

Gayan Hewa's photo
Gayan Hewa
·Dec 13, 2018·

3 min read

Subscribe to my newsletter and never miss my upcoming articles

Learning Golang

13 Dec 2018 | 2 min read

A few months back, I bet my money on teaching myself Golang. There were a few reasons I wanted to take a look at Go. The first one was easy packaging and gRPC support. The next was the concurrency model and how goroutines worked. The last of the community and resources around the language and ecosystem.

After spending a few hours on youtube and reading a few articles and tutorials, I was convinced that I needed a good place for fundamentals. After all, without the basics, we are just doing guesswork based on trial and error. I looked into a few books to read and video courses to take.

I started by spending a few hours following through the Go crash course to get a feel of the language and constructs.

After this was done, I got my hands on the best intro book I have ever read for the programming language Go in Action. "Go in Action")

These authors, do such an amazing job and the examples used in the book are practical and thought-provoking. The first chapter gives you a taste of how to use Goroutines and concurrency effectively in your applications. Explanations on how the internals work from Arrays, Slices, Maps to Interfaces.

This book was just great. But, I was missing something. I wanted to practice what I learned. So like in most other cases, I was thinking of something to build. Generally, when you need to use a different stack at work for a project you also end up learning the stack well. And I thought, why not. After a week or two later, I realized that this was not helping. Purely because some of the constructs and how they are used are a bit foreign to me. So I found it to be less natural. When I was thinking about a way to overcome things I recalled watching this video by Cameron Price on Micropatterns.

Here, he discussed how he was able to learn Elixir by taking small steps and solving small problems. After watching this, I decided to start the Go track

Once starting the track I also got myself a copy of the Little Go Book I ended up using the little go book as a reference whenever I want to refresh some topic quickly. And if I want to re-read an area completely, I would go back to the chapters involved in Go in Action. With all of these in hand, I am currently in the process of polishing up my fundamentals with Go programming.

The mentored track on makes learning much more fun with the community giving you feedback on how to solve a problem. Looking at the published community answers for the same problem gives you insights into what was the thought process in other developers, what they did well, and what you can learn from each other.

So far, in my opinion, this has been the most productive learning experience I have had for the past 5+ years. And these micropatterns or problems I solve gives me insights into little details I would miss otherwise if I was building an entry-level app to learn the language and ecosystem.

Here is a bunch of other places you can easily find answers to your questions when you learn Go lang,

- Q&A:

- A curated list of resources:

- Slack channel:

#learning #golang #go


Share this