Cover of The Go Programming Language

The Go Programming Language

by Alan A. A. Donovan, Brian W. Kernighan · first published 2015

100mentions
40recommended by
80HN commenters
2015–2026first – last mentioned

50% recommend48% neutral3% critical

Why HN recommends it

Concise, thorough introduction to Go with practical, non-toy examples and clear prose, teaching idiomatic style. Suits working programmers, especially those coming from C or Java, who want solid grounding.

Summarised by Claude from recommending comments

Affiliate links. As an Amazon Associate I earn from qualifying purchases.

Mentions per year

150 2007: 0 mentions2008: 0 mentions2009: 0 mentions2010: 0 mentions2011: 0 mentions2012: 0 mentions2013: 0 mentions2014: 0 mentions2015: 4 mentions2016: 8 mentions2017: 8 mentions2018: 9 mentions2019: 10 mentions2020: 7 mentions2021: 12 mentions2022: 15 mentions2023: 4 mentions2024: 8 mentions2025: 2 mentions2026: 5 mentions200720172026

What Hacker News says

  • moonlighter · Mar 4, 2016 · Recommends

    I can highly recommend "The Go Programming Language". I find it extremely well written, and worth every penny. http://www.amazon.com/gp/product/0134190440

    on “Go by Example” ↗
  • mseepgood · Nov 10, 2016 · Recommends

    "The Go Programming Language" by Alan Donovan and Brian Kernighan: http://gopl.io

    on “Seven years of Go” ↗
  • jagger27 · Jan 16, 2017 · Recommends

    Like others in this thread, this is more (only, in fact) about programming but I found The Go Programming Language to be an absolutely perfect introduction to Go with fantastic examples and succinct prose. It's beautifully typeset as well, which doesn't hurt. http://www.gopl.io ISBN: 978-0134190440

    on “Ask HN: What's the best computer science book you've read recently?” ↗
  • dpflan · Nov 23, 2017 · Recommends

    …nice step by step introductory guide through the language. _ 2. Go by Example: https://gobyexample.com/ >> A concise collection of fundamental concepts, expressions, and implementations. _ 3. The Go Programming Language: http://www.gopl.io/ >> The text by two authors of the language. You may view as the "KnR" for C but for Go. >> It has end of chapter problems and the solutions are hosted on github: >>> https://github.com/adonovan/gopl.io/…

    on “Show HN: Gophercises – Coding Exercises for Budding Gophers” ↗
  • jonathanstrange · Oct 11, 2018 · Recommends

    …from investing more time into it, though: Chapter 17 of the book, which spends a great deal of time trying to advertise why its OOP support is so impoverished. In comparison, Donovan & Kernighan's The Go Programming Language is much more honest about the (many) misfeatures of Go. That being said, already existing libraries and Rust's tooling are excellent, and so I'll surely return to the language. Not because it has no…

    on “Rust has a static “garbage collector”” ↗
  • danieldk · Nov 18, 2018 · Recommends

    …Rust's memory management to other languages that the reader might know. The largest shortcoming of the book is the lack of exercises. That said, I don't think any of the books is as good as K&R or The Go Programming Language yet. The Kernighan books are lucid and contain a lot of small, but useful, exercises/practical examples. This gives a stronger sense of accomplishment while working through the book.

    on “Rust and SPARK: Software Reliability for Everyone (2017)” ↗
  • 2pEXgD0fZ5cF · Nov 9, 2021 · Recommends

    Been a while since I worked with Go but I'm considering it for an upcoming project. Is there any word on a new, updated version of "The Go Programming Language" (Donovan, Kernighan) to cover all the new features since then? I really enjoyed working through that book. If not: Any tips for a good resource to really get up to date with the new additions/changes…

    on “Upcoming Features in Go 1.18” ↗
  • poorman · Dec 9, 2015 · Recommends

    The blogger has completely missed the entire purpose of Go. I suggest anyone who actually wants info one way or the other to read the Preface in Alan Donovan and Brian Kernighan's "The Go Programming Language". You will then understand why Go is the way it is and why all the negative points (in his mind) this blogger listed, are not in the language.

    on “Why Go Is Not Good (2014)” ↗
  • dpflan · Mar 4, 2016 · Recommends

    Perhaps one of these resources can show more advanced use cases: https://github.com/golang/go/wiki/Books Have you read The Go Programming Language by Donovan and Kernighan? - Book Site: http://www.gopl.io/ - Book Example Source Code: https://github.com/adonovan/gopl.io/

    on “Go by Example” ↗
  • vram22 · May 25, 2018 · Recommends

    …good books that Kernighan has been involved with: The C Programming Language (by Kernighan and Ritchie), The Unix Programming Environment (by Kernighan and Pike), The AWK Programming Language and The Go Programming Language. I have three of the books in hard copy (and had the first two books for years, in fact, bought multiple copies, because the earlier ones wore out); the only one I do not have is the AWK book. Along with…

    on “Technical Writing: Learning from Kernighan” ↗
  • entity345 · Feb 21, 2019 · Recommends

    I'm sure there are many actual professionals using Go. Not just script kiddies. I happen to be learning Go coming from a C background. I find "The Go Programming Language" by Donovan and Kernighan exemplary and the decades of experience that went into the language really show.

    on “Practical Go: Real-world advice for writing maintainable Go programs” ↗
  • rmk · Jul 30, 2022 · Recommends

    …like it if you give it a shot: https://www.amazon.com/Code-Reading-Open-Source-Perspective/... Effective Java by Joshua Bloch has code snippets that are very well-written, as are the examples in The Go Programming Language by Donovan et. al. I read practically all the code in Effective Java, and a lot of the examples in The Go Programming Language (I keep dipping into this book every now and then as I have to learn some…

    on “Ask HN: Courses explaining well-written codebases?” ↗
  • lioeters · Nov 12, 2022 · Recommends

    …https://go.dev/tour/welcome/1 - Effective Go - https://go.dev/doc/effective_go - Go by Example - https://gobyexample.com/ - The Little Go Book - https://www.openmymind.net/The-Little-Go-Book/ - "The Go Programming Language" by Alan A.A. Donovan and Brian W. Kernighan - Go 101 - https://go101.org/

    on “Ghostly is a simple, lightweight, and fast full-stack framework for Golang” ↗
  • mseepgood · Mar 5, 2015 · Recommends

    …Language" - Kernighan & Aho - "The Elements of Programming Style" - Kernighan & Plauger - "The Unix Programming Environment" - Kernighan & Pike - "The Practice of Programming" - Kernighan & Pike - "The Go Programming Language" - Kernighan & Donovan

    on “The Go Programming Language by Brian W. Kernighan, Alan Donovan” ↗
  • kris-s · Feb 8, 2017 · Recommends

    Just to throw my two cents in here: my favorite technical book is the fairly recent Go Programming Language by Donovan & Kernighan (www.gopl.io). It's very readable and has _excellent_ exercises to do as you work through the book.

    on “The most mentioned books on Stack Overflow” ↗

Keyboard shortcuts

/
Focus search
j / k
Next / previous book
Enter
Open focused book
Esc
Close / go back
g h
Go to Home
g t
Go to Top all-time
g m
Go to Most recommended
g r
Go to Rising
g f
Go to For You
?
Show this help