29 min watch
Go Code Roast: Secret Hitler Game
Watch as I review a simple game, writte in Go, and explain what I like, what I don't like, and how the author could improve his chances of landing a job by showing off this code.

2 min read
On Go's verbose error handling
I’m taking a break from the Go spec for a day, to talk about some code I just found in a codebase I’m working on, which I think says some interesting things about the argument that Go’s error handling is too verbose. When I shared this code on a Slack community, someone asked for an email-lengthed explanation, so here it is! Without further ado, here’s the code I ran across (edited slightly to be more general):
33 min watch
How do you test filepath.Abs in Go?
I provide three ways to tackle the question: How do you test filepath.Abs failure in your Go code?
33 min watch
Go Code Roast: Logstash to Prometheus Exporter
I'm back with another Go Code roast! This one comes from Reddit, and is for the logstash-exporter package.
Subscribe to Boldly Go: Daily
Every day I'll send you advice to improve your understanding of Go. Don't miss out! I will respect your inbox, and honor my privacy policy.
Unsure? Browse the archive.