@palmin Fun being highly subjective. Knuth's thought that littering your code with comments in latex made it fun to read.
https://ctan.uib.no/web/c_cpp/cwebx/examples/wc.w
For quotes I prefer "Beware of bugs in the above code - I have only proved it correct, not tried it."
@nf3xn @palmin Who hasn't just hammered out a quick, untested example in literate programming when someone asked a question?