![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-61.png)
read the transcript!
Some bug fixes are a little counterintuitive. Otherwise you would have written the code that way in the first place! You might think:
Illustration of a smiling stick figure with curly hair.
person (thinking): “I’ll remember why I added this code, I spent 5 hours this is a debugging it!
this is a trap!!!!!
Adding a comment can help future you (or your coworkers!) avoid accidentally reviving a bug later.
person (thinking): ooh, I could simplify this code!
Illustration of a dancing bug, singing “I’m back!”
Saturday Morning Comics!
Want another comic like this in your email every Saturday? Sign up here!