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!
Instead of printing text, your program can tell you about its state by generating a picture! Or playing sounds at key moments!
Some ways your programs can generate pictures or sounds: - add colours to your log lines (every letter of ‘colours’ is a different colour) - add red outlines around every HTML element! (“red” and “outlines” have a red outline around them) - Haskell has an option to beep at the start of every major garbage collection (there’s a bell icon after “beep”) - draw a chart of events over time (chart icon) - use graphviz to generate a diagram of your program’s internal state (there’s a picture of a little graph diagram with a -> b, a -> c)
Saturday Morning Comics!
Want another comic like this in your email every Saturday? Sign up here!