But I have a fundamental disagreement with the simplistic message of complimenting effort rather than brains. And that disagreement is that you're training kids to work hard, but not necessarily well. In my childhood the messages we got pushed us to always look for the trick. As an adult I really value the mental habit of always looking for the shortcut that makes things easy.
Another interesting variant I find myself using with my son is to compliment him for showing smarts, but follow it up with a theory that brains need practice to continue working. Thus "smart" becomes a compliment for what he does, and not what he is. For instance I'll say something like, "How did you get so smart? You must have been really using that brain! Just look at what you've learned!"