![A stick figure smiling](/images/welcome.jpg)
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".](/images/uploads/the-pocket-guide-to-debugging-wizard-zines-16.png)
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!