A 10-year study of 1,300 men found that those who scored the highest on a standardized optimism scale were least likely to develop heart disease or die from a heart attack.