The Go Programming Language

by Alan Donovan & Brian Kernighan

Started: November 2024 Finished: December 2024

An excellent deep dive into Go. Clear explanations and great examples throughout.

This book is the definitive guide to Go programming. Written by members of the Go team at Google, it provides comprehensive coverage of the language and its idioms.

Key Takeaways

  • Go’s simplicity is its strength
  • Interfaces enable powerful abstractions
  • Concurrency primitives (goroutines and channels) make concurrent programming accessible
  • The standard library is extensive and well-designed

Favorite Chapters

Chapter 8 on goroutines and channels was particularly enlightening. The authors do an excellent job explaining not just how to use these features, but when and why to use them.

The section on testing in Chapter 11 changed how I approach test writing in all languages, not just Go.