i never pictured robin williams as someone who was depressed, always thought he was a happy person in real life.
I am not an expert, but one of the things I read is that people with depression deal with it by going out of their way to make other people laugh. It is a coping mechanism, which may explain why so many people with depression become comedians.