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!
If I have a bug with how I’m using a library, I like to:
- find a code example in the documentation
- make sure it works
- slowly change it to be more like my broken code
- test if it’s still working after every single tiny change
Illustration showing a bunch of points with arrows between them. Each point has a check mark beside it, until one that is labelled “Oh THAT’S what broke it!!!”
This puts me back on solid ground: with every change I make that DOESN’T cause the bug to come back, I know that change wasn’t the problem.
Saturday Morning Comics!
Want another comic like this in your email every Saturday? Sign up here!