Neither pessimistic nor optimistic, but realistic

The central importance of dukkha in Buddhist philosophy has caused some observers to consider Buddhism to be a pessimistic philosophy.[c][d] However, the emphasis on dukkha is not intended to present a pessimistic view of life, but rather to present a realistic practical assessment of the human condition—that all beings must experience suffering and pain at some point in their lives, including the inevitable sufferings of illness, aging, and death.[4] Contemporary Buddhist teachers and translators emphasize that while the central message of Buddhism is optimistic, the Buddhist view of our situation in life (the conditions that we live in) is neither pessimistic nor optimistic, but realistic.[d]

Walpola Rahula explains the importance of this realistic point of view:[13]

First of all, Buddhism is neither pessimistic nor optimistic. If anything at all, it is realistic, for it takes a realistic view of life and of the world. It looks at things objectively (yathābhūtam). It does not falsely lull you into living in a fool’s paradise, nor does it frighten and agonize you with all kinds of imaginary fears and sins. It tells you exactly and objectively what you are and what the world around you is, and shows you the way to perfect freedom, peace, tranquility and happiness.

One physician may gravely exaggerate an illness and give up hope altogether. Another may ignorantly declare that there is no illness and that no treatment is necessary, thus deceiving the patient with a false consolation. You may call the first one pessimistic and the second optimistic. Both are equally dangerous. But a third physician diagnoses the symptoms correctly, understands the cause and the nature of the illness, sees clearly that it can be cured, and courageously administers a course of treatment, thus saving his patient. The Buddha is like the last physician. He is the wise and scientific doctor for the ills of the world (Bhisakka or Bhaisajya-guru).

Surya Das emphasizes the matter-of-fact nature of dukkha:[14]

Buddha Dharma does not teach that everything is suffering. What Buddhism does say is that life, by its nature, is difficult, flawed, and imperfect. […] That’s the nature of life, and that’s the First Noble Truth. From the Buddhist point of view, this is not a judgement of life’s joys and sorrows; this is a simple, down-to-earth, matter-of-fact description.

The Buddha acknowledged that there is both happiness and sorrow in the world, but he taught that even when we have some kind of happiness, it is not permanent; it is subject to change. And due to this unstable, impermanent nature of all things, everything we experience is said to have the quality of duhkha or unsatisfactoriness. Therefore unless we can gain insight into that truth, and understand what is really able to provide lasting happiness, and what is unable to provide happiness, the experience of dissatisfaction will persist.[10][15]

http://en.wikipedia.org/wiki/Dukkha