This seems to fly in direct opposition to research on growth vs. fixed mindset, which claims that praise should be impersonal, specific, and temporal in order to help people realize that they can do better based on the choices they make.
> in order to help people realize that they can do better
vs
> in order to help people feel happy (via optimism)