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!
read the transcript!
Does your bug involve a library you don’t understand?
Illustration of an unhappy stick figure with curly hair.
person (thinking): UGH, requests
is NOT working how I expected it to!
I like to convert my code using that library into a tiny standalone program which has the same bug:
Illustration of two programs, one represented by a big messy scribble, the second represented by three tidy lines.
giant buggy program => 20 lines of buggy code
I find this makes it WAY EASIER to experiment and ask for help. And if it turns out that library actually has a bug, you can use your tiny program to report it.
Saturday Morning Comics!
Want another comic like this in your email every Saturday? Sign up here!