Theory of Humor. A scientific paper, written by Tom Veatch, describes his Theory of Humor. When is something funny? When is it not funny? When does it cross the line? Why are puns generally shitty? And the mysterious and magical powers elephant jokes have on children, revealed! A great data set to use for practice in applying the theories presented in the paper can be found here.