Spikdi
A20:35
A20:35
Yesterday I gave feedback on a colleague's code.
Ontem dei feedback sobre o código de um colega.
I tried to be clear but not harsh.
Tentei ser clara, mas não dura.
I said, "What do you think about using a loop here?"
Eu disse: "O que você acha de usar um loop aqui?"
That made it a question, not a command.
Isso tornou uma pergunta, não uma ordem.
I added one small suggestion about naming.
Adicionei uma pequena sugestão sobre nomes.
He said, "Good call, let me fix that."
Ele disse: "Boa ideia, deixa eu corrigir isso."
We talked for two minutes more.
Conversamos por mais dois minutos.
No one felt attacked.
Ninguém se sentiu atacado.
I learned that feedback works better as a talk.
Aprendi que feedback funciona melhor como conversa.
A question opens a door.
Uma pergunta abre uma porta.
A command closes it.
Uma ordem a fecha.
How I handled a code review without hard feelings
by @isabela19