Humour is seen as one of the final frontiers of artificial intelligence, being one of the most difficult things for computers to understand, which is perhaps unsurprising since psychologists also don't understand it nearly as well as other psychological phenomena.