Skip to Main Content

100 Go Mistakes and How to Avoid Them

Published by Manning
Distributed by Simon & Schuster
LIST PRICE $65.99
PRICE MAY VARY BY RETAILER
See More Retailers

Spot errors in your Go code you didn’t even know you were making and boost your productivity by avoiding common mistakes and pitfalls.

100 Go Mistakes and How to Avoid Them introduces dozens of techniques for writing idiomatic, expressive, and efficient Go code that avoids common pitfalls. By reviewing dozens of interesting, readable examples and real-world case studies, you’ll explore mistakes that even experienced Go programmers make. This book is focused on pure Go code, with standards you can apply to any kind of project.

As you go, you’ll navigate the tricky bits of handling JSON data and HTTP services, discover best practices for Go code organization, and learn how to use slices efficiently. Your code speed and quality will enjoy a huge boost when you improve your concurrency skills, deal with error management idiomatically, and increase the quality of your tests.

Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.

Teiva Harsanyi is a senior software engineer with experience in different programming languages such as Go, Rust, Java, and Scala. He has worked in various domains across insurance, transportation, and safety-critical industries like air traffic management. Today, he works as a freelance engineer coding in Go. He also blogs and mentors newcomers to the language.