The book learned optimism covers the value of both optimism and pessimism. He wrote the book to help people become more optimistic.
The main thing I learned from the book, is knowing when it is good to be optimistic or pessimistic. There is a time and a place for each. But, on average, optimists tend to win, because they keep trying longer.