📖 100 Go Mistakes: Released!

Teiva Harsanyi
3 min readAug 25, 2022

After almost three years of work, I wanted to announce that my book, 100 Go Mistakes and How to Avoid Them, has finally been released 🎉.

100 Go Mistakes and How to Avoid Them shows you how to replace common programming problems in Go with idiomatic, expressive code. In it, you’ll explore dozens of interesting examples and case studies as you learn to spot mistakes that might appear in your own applications.

How it Started

In 2019, I started my second professional experience with Go as the primary language. While working in this new context, I noticed some common patterns regarding Go coding mistakes. I started to think that perhaps writing about these frequent mistakes could help some developers.

So, I wrote a blog post called “The Top 10 Most Common Mistakes I’ve Seen in Go Projects.” The post was very popular: it had more than 100,000 reads and was selected by the Golang Weekly newsletter as one of the top articles of 2019. Beyond that, I was pleased with the positive feedback I got from the Go community.

From that moment, I realized that communicating about common mistakes was a powerful tool. Accompanied by concrete examples, it can help people learn new skills efficiently and facilitate remembering the context of a mistake and how to avoid it.

I spent about a year compiling mistakes from various sources such as other professional projects, open source repositories, books, blogs, studies, and discussions with the Go community. To be transparent, I was also a decent source of inspiration regarding mistakes.

At the end of 2020, I reached 100 Go mistakes, which seemed to me like the right moment to propose my idea to a publisher: Manning. Then, it took me almost 2 years and countless iterations to frame each of the 100 mistakes alongside meaningful examples and multiple solutions where context is key.

I hope this book will help you avoid making these common mistakes and help you enhance your proficiency in the Go language.

The land of Go mistakes

Where to Buy the Book

For the time being, the physical book is available on Manning’s website: https://www.manning.com/books/100-go-mistakes-and-how-to-avoid-them (-35% with the code au35har). On Amazon and other platforms, it’ll take a little bit more time to prepare the stocks, but the book can already be preordered.

In the meantime, I’ve prepared a GitHub repo containing the source code and a summary of each mistake described in the book. I also have in mind this it could become a collaborative place where people could contribute and propose common mistakes; let’s see if that works out.

What’s Next

In the following weeks, I will be active again on my blog, starting with posts taken from the book. As each mistake is almost always independent, it will fit quite well in a blog post format.

Thanks to all the people involved, and thanks to the Go community!

❤️ Enjoying my work? You can consider becoming a GitHub sponsor: https://github.com/sponsors/teivah.

--

--

Teiva Harsanyi
Teiva Harsanyi

Written by Teiva Harsanyi

Software Engineer @Google | The Coder Cafe newsletter (https://thecoder.cafe) | 📖 100 Go Mistakes author | 改善

Responses (2)