I'm fine with adding a little humor and levity in a technical book, but only if the following conditions are met:
1. Provides some pedagogic purpose (such as illustrating a point)
2. It's actually funny
1. Provides some pedagogic purpose (such as illustrating a point)
2. It's actually funny