Pragmatism is defined as the pursuit of practicality over aesthetic qualities. It is a concentration on facts rather than ideals or emotions.
Pessimism is defined as a belief that bad things will always happen or things will only get worse.
A person who has such a view on life is referred to as a pessimist. This is a direct contrast to optimism.
An optimist is someone who expects positive outcome. He is a person that believes things will always turn out in his favor, she is someone that believes the world is set up to always yield favorable results in issues related to her.