Spikdi
B10:39
B10:39
I used to feel nervous about code reviews.
我以前对代码审查感到紧张。
Now I see them as a chance to learn.
现在我把它们看作学习的机会。
Last week, I reviewed a teammate's pull request.
上周,我审查了一位队友的拉取请求。
I said, "What do you think about this approach?"
我说:“你觉得这个方法怎么样?”
I added, "One small suggestion: maybe simplify the loop."
我补充道:“一个小建议:也许可以简化这个循环。”
He replied, "Good call, let me fix that."
他回答:“好主意,我来改一下。”
No one got defensive.
没有人产生防备心理。
We focused on the code, not the person.
我们关注代码,而不是个人。
When someone reviews my code, I listen first.
当别人审查我的代码时,我先倾听。
I ask questions if I don't understand.
如果不明白,我会提问。
I learned to separate feedback from my ego.
我学会了把反馈和自我分开。
It makes the team stronger.
这让团队更强大。
Giving and Receiving Code Review Feedback Calmly
by @wei_stories