Pessimism comes from the temperament, optimism from the will.
The pessimist sees difficulty in every opportunity. The optimist sees the opportunity in every difficulty.
The essence of my optimism is constructive pessimism.
For myself I am an optimist — it does not seem to be much use being anything else.