Tom Stoppard said this quote

GUIL: It [Hamlet's madness] really boils down to symptoms. Pregnant replies, mystic allusions, mistaken identities, arguing his father is his mother, that sort of thing; intimations of suicide, forgoing of exercise, loss of mirth, hints of claustrophobia not to say delusions of imprisonment; invocations of camels, chameleons, capons, whales, weasels, hawks, handsaws -- riddles, quibbles and evasions; amnesia, paranoia, myopia; day-dreaming, hallucinations; stabbing his elders, abusing his parents, insulting his lover, and appearing hatless in public -- knock-kneed, droop-stockinged and sighing like a love-sick schoolboy, which at his age is coming on a bit strong.ROS: And talking to himself.GUIL: And talking to himself.