Yesterday’s One Big Happy, in which Ruthie works at telling jokes:
Part of acquiring a language is acquiring a large assortment of social routines using that language — including joke patterns. Linguists studying conversation have looked at the acquisition of a number of different joke types, for example knock-knock jokes, where they see the gradual unfolding of the abilities involved in producing and appreciating jokes. For instance, many jokes turn on puns, so that a child has to learn that exact wording can be crucial to the joke; paraphrase won’t do. But children often fail to appreciate that, while still understanding that laughter is called for at a certain point in the joke.