There are basically three kinds of humour: wit, satire, comedy. The wit (in the manner of Wilde, Shaw, etc) is funny at the expense of other people; the satirist is funny at the expense of the world; the comedian is funny at his own expense, or he sees the funny side of human existence.