Back
Jon Bodner: Learning Go: An Idiomatic Approach to Real-World Go Programming (Paperback, 2021, O'Reilly Media)

Go is rapidly becoming the preferred language for building web services. While there are plenty …

Reviewing "Learning Go" as an experienced programmer new to Go

It's a really good book for getting into Golang. One caveat before I continue: I went into this with a pretty broad background in programming, so I'm not sure how well the book would work for a programming beginner.

First of all: The book does provide what it says on the tin. There's quite some discussion of how to write idiomatic Go in the book, which I like. I don't have problems taking up new syntax for a language, but in the past I've found that all too many books concentrate only on syntax and standard library, but not on what idiomatic code for the language looks like.

What I was positively surprised about while working through the book was that the Go language designers succeeded: They produced a modern, useful programming language that's pretty simple. Go feels quite a lot like when I learned C for the first time, just with fewer footguns.

The book also provides exercises for each chapter, and the solutions are freely available on GitHub. I always like that, as it allows me to do a quick check to see whether I went down the completely wrong path. But, there were a bit too few exercises for my taste. In some chapters, the exercises didn't cover all of the topics discussed in the chapter.