Preface
I wasn’t sure there should be a third edition of Learning Go.
When the term “vibe coding” was coined in early 2025 by Andrej Karpathy, it was a bit of a joke. By the end of 2025, no one was laughing. LLMs got really good at writing code really fast. Developers were using them for larger and more complicated projects. If anything, the momentum behind automating coding is increasing.
Given this, why would anyone want to write (or read) an updated book on a programming language? Who cares about idiomatic usage and new features when most code is automatically generated? Maybe my time would be better spent writing romance novels before LLMs master those, too.
After some additional thinking, I realized that a book on idiomatic Go might be more needed now than ever before. There are two reasons. The first is that idiomatic code works better. When you write code in an idiomatic way, the Go runtime is able to execute your code more efficiently. If you try to bend Go into something like Java, C++, ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access