loading...
Cover image for Let's Go - Book Review

Let's Go - Book Review

cpustejovsky profile image Charles Clinton Pustejovsky III ・2 min read

After getting my feet weth with Test Driven Development in Go, I decided to go through Let's Go by Alex Edwards. My next step is to re-write my web app's backend with Go, so this was the next logical step for me.

Alex shows you how to build a web application from start to finish. He walks the reader step-by-step through:

  • Setting up a server
  • RESTful Routing
  • Middleware
  • Database Connection
  • Templating
  • Testing (Unit, E2E, Integration)

He shows you from the very beginning how to do all this in a way that will keep your web app scalable, composable, etc. I really appreciated this since too many tutorials show you the simple way first and only later add in the clean up and refactoring. I find this way is better for setting up good habits.

While sprinkling advice and best practices throughout the book, He shows the reader exactly which files to create where, and where to put each bit of code for the web app. This is great for making sure you never get lost while following along.

Because all his code samples have in-depth comments explaining what each thing does, even if you mindlessly copied and pasted everything, you'd still end up with a great web app to go back and reference.

Code Sample

This is what I'm talking about. Each new piece of code or update includes comments like this.

If you're on the fence, check out his blogs like this one on interfaces to see if you'll like his teaching style.

But I highly recommend buying and reading this book if you're interested in web development with Golang. It is absolutely worth the price. Check it out!

Posted on by:

cpustejovsky profile

Charles Clinton Pustejovsky III

@cpustejovsky

I love programming, golang, and solving problems that help people

Discussion

pic
Editor guide
 

Did you buy just the book or the professional package?

 

I just bought the book. I think the professional package could be helpful, especially the exercises.