Skip to Content

A stick figure smiling

Here's a preview from my zine, The Pocket Guide to Debugging! If you want to see more comics like this, sign up for my saturday comics newsletter or browse more comics!

Image of a comic. To read the full HTML alt text, click "read the transcript".

browse more comics! get the zine!
read the transcript!

If your program already has tests, adding a failing test is a great way to work on your bug!

Illustration of a smiling stick figure with curly hair.

person (thinking): this function should return X, but it’s returning Y

  • it forces you to pinpoint what exactly the bug is
  • it’s easy to tell when you’ve fixed it (the test passes!)
  • you can keep the test to make sure the bug doesn’t come back

Saturday Morning Comics!

Want another comic like this in your email every Saturday? Sign up here!

I'll send you one of my favourite comics from my archives every Saturday.
© Julia Evans 2024 | All rights reserved (see the FAQ for notes about licensing)