Now, where is Buddhism here?
Is it pessimism or optimism?
At first glance Buddhism appears to be certainly Pessimism, since it canters on and stresses the truth about suffering more than anything.
Although suffering is stressed, yet happiness is also mentioned, and with no less emphasis.
Both suffering and happiness, says Buddhism, are conditioned by their respective causes, appearing or disappearing in response to the nature of their causes.