https://www.leanblog.org/2009/01/leanblog-podcast-57-alfie-k...
http://www.blog.montessoriforeveryone.com/are-kids-punished-...
This article also looks like a likely candidate for the OP: https://www.parentingscience.com/praise-and-intelligence.htm...
Instead, help nurture your children's own curiosity, interest, and experience in the things that they do.
Stop treating them like lab rats to be conditioned with praise, because we know exactly what happens when that praise inevitably ceases.
https://www.nytimes.com/1998/07/14/science/praise-children-f...
''Praising children's intelligence, far from boosting their self-esteem, encourages them to embrace self-defeating behaviors such as worrying about failure and avoiding risks,''
This is arguably good advice regarding 5th graders. For adult software engineers, however, go ahead and praise them for being smart, since worrying about software failure and avoiding software risks is great.
https://www.wisdomtimes.com/blog/the-pygmalion-effect-at-hom...
If you can suggest a better one, I would be grateful.