how optimism and pessimism influence your perspective