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?