I usually hear this referred to as a "criticism sandwich": Criticism surrounded on either side with compliments.
I usually hear this referred to as a "criticism sandwich": Criticism surrounded on either side with compliments.
At some point in my career, I stopped taking criticism personally. I just realized I was wrong so often that upholding the pretense that I knew it all was too hard. For that reason, I prefer direct suggestions.
If I was teaching a child or a new beginner, I would start with a lot of praise that they're even trying. I want to get them some early wins to help boost their confidence.
By being polite you're ensuring that the message you're sending gets incorporated into their strategy for tackling that problem and making them feel comfortable discussing other issues with you.
As programmers, we have to learn that 'programming' people is very different from programming computers.
That's great! To make it read files faster, next time let's try xyz.