Being a glass half-full sort of person not only makes it more likely that you will not be lonely in your dotage, but studies also show, surprisingly, that you are likely to be at lower risk of heart failure, even when accounting for chronic diseases and other reasons to be pessimistic.