Code Quality

Code Quality © Randall Munroe · xkcd · CC BY-NC 2.5
Why it lands
Three escalating similes for unreadable code, then a one-line surrender. The joke rests on a real gap: "it compiles without errors" is a much lower bar than "someone else can read it", and a style guide only closes part of it.
Transcript
- KEEP IN MIND THAT I'M SELF-TAUGHT, SO MY CODE MAY BE A LITTLE MESSY.
- LEMME SEE— I'M SURE IT'S FINE.
- ...WOW.
- THIS IS LIKE BEING IN A HOUSE BUILT BY A CHILD USING NOTHING BUT A HATCHET AND A PICTURE OF A HOUSE.
- IT'S LIKE A SALAD RECIPE WRITTEN BY A CORPORATE LAWYER USING A PHONE AUTOCORRECT THAT ONLY KNEW EXCEL FORMULAS.
- IT'S LIKE SOMEONE TOOK A TRANSCRIPT OF A COUPLE ARGUING AT IKEA AND MADE RANDOM EDITS UNTIL IT COMPILED WITHOUT ERRORS.
- OKAY, I'LL READ A STYLE GUIDE.
Credits
- Original
- Code Quality — Randall Munroe, xkcd
- Image file
- imgs.xkcd.com/comics/code_quality_2x.png
- License
- CC BY-NC 2.5
The English page shows the original image unmodified. The Japanese page shows an adaptation by wtfe²: the lettering was erased from the art and replaced with a Japanese translation. The adaptation is shared under the same license as the original.