How to not sound passive aggressive in code reviews?











up vote
0
down vote

favorite












As a young guy in my first programming job, I can't figure out how to avoid sounding passive aggressive when providing code review comments or when responding to such comments in my own code. It invariably ends up sounding like "X does Y, not Z. It's not needed here." in response to something like "don't we need to call function X here?".



So how do you properly respond to general review comments like "I think this is missing here" or "I think this is not needed here"? And how do you correct a coworker's misunderstanding without sounding snappy?



I'm asking because a coworker said "I think this comment doesn't accurately describe the code because X actually does Y". I was going to respond with "X actually doesn't do Y. Z is the one that actually does Y". However, it just sounds slightly snarky. I for sure would be a little annoyed if someone responded to me like that.










share|improve this question







New contributor




Jonathan Park is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
















  • 1




    Have you noticed the way others respond in code reviews? Have you seen cases where their responses didn't come across as passive-aggressive? Do that. Just stick with the facts and avoid passive-aggressive amplifiers like "actually" as much as you can.
    – Joe Strazzere
    1 hour ago












  • This seems highly dependent on culture and the personalities of those involved, and the specifics of the comment. Some don't really pick up on or mind snark and might dislike unnecessary sugarcoating, while others find snark in many things and appreciate some kinder ways of putting things. And someone might consider something snarky when it's said by one person, but not when it's said by another. Although you should always, within reason, try to avoid explaining or stating things others find obvious and always give the benefit of the doubt when interpreting what others say.
    – Dukeling
    34 mins ago

















up vote
0
down vote

favorite












As a young guy in my first programming job, I can't figure out how to avoid sounding passive aggressive when providing code review comments or when responding to such comments in my own code. It invariably ends up sounding like "X does Y, not Z. It's not needed here." in response to something like "don't we need to call function X here?".



So how do you properly respond to general review comments like "I think this is missing here" or "I think this is not needed here"? And how do you correct a coworker's misunderstanding without sounding snappy?



I'm asking because a coworker said "I think this comment doesn't accurately describe the code because X actually does Y". I was going to respond with "X actually doesn't do Y. Z is the one that actually does Y". However, it just sounds slightly snarky. I for sure would be a little annoyed if someone responded to me like that.










share|improve this question







New contributor




Jonathan Park is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
















  • 1




    Have you noticed the way others respond in code reviews? Have you seen cases where their responses didn't come across as passive-aggressive? Do that. Just stick with the facts and avoid passive-aggressive amplifiers like "actually" as much as you can.
    – Joe Strazzere
    1 hour ago












  • This seems highly dependent on culture and the personalities of those involved, and the specifics of the comment. Some don't really pick up on or mind snark and might dislike unnecessary sugarcoating, while others find snark in many things and appreciate some kinder ways of putting things. And someone might consider something snarky when it's said by one person, but not when it's said by another. Although you should always, within reason, try to avoid explaining or stating things others find obvious and always give the benefit of the doubt when interpreting what others say.
    – Dukeling
    34 mins ago















up vote
0
down vote

favorite









up vote
0
down vote

favorite











As a young guy in my first programming job, I can't figure out how to avoid sounding passive aggressive when providing code review comments or when responding to such comments in my own code. It invariably ends up sounding like "X does Y, not Z. It's not needed here." in response to something like "don't we need to call function X here?".



So how do you properly respond to general review comments like "I think this is missing here" or "I think this is not needed here"? And how do you correct a coworker's misunderstanding without sounding snappy?



I'm asking because a coworker said "I think this comment doesn't accurately describe the code because X actually does Y". I was going to respond with "X actually doesn't do Y. Z is the one that actually does Y". However, it just sounds slightly snarky. I for sure would be a little annoyed if someone responded to me like that.










share|improve this question







New contributor




Jonathan Park is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











As a young guy in my first programming job, I can't figure out how to avoid sounding passive aggressive when providing code review comments or when responding to such comments in my own code. It invariably ends up sounding like "X does Y, not Z. It's not needed here." in response to something like "don't we need to call function X here?".



So how do you properly respond to general review comments like "I think this is missing here" or "I think this is not needed here"? And how do you correct a coworker's misunderstanding without sounding snappy?



I'm asking because a coworker said "I think this comment doesn't accurately describe the code because X actually does Y". I was going to respond with "X actually doesn't do Y. Z is the one that actually does Y". However, it just sounds slightly snarky. I for sure would be a little annoyed if someone responded to me like that.







colleagues code






share|improve this question







New contributor




Jonathan Park is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question







New contributor




Jonathan Park is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question






New contributor




Jonathan Park is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked 1 hour ago









Jonathan Park

104




104




New contributor




Jonathan Park is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





Jonathan Park is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






Jonathan Park is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.








  • 1




    Have you noticed the way others respond in code reviews? Have you seen cases where their responses didn't come across as passive-aggressive? Do that. Just stick with the facts and avoid passive-aggressive amplifiers like "actually" as much as you can.
    – Joe Strazzere
    1 hour ago












  • This seems highly dependent on culture and the personalities of those involved, and the specifics of the comment. Some don't really pick up on or mind snark and might dislike unnecessary sugarcoating, while others find snark in many things and appreciate some kinder ways of putting things. And someone might consider something snarky when it's said by one person, but not when it's said by another. Although you should always, within reason, try to avoid explaining or stating things others find obvious and always give the benefit of the doubt when interpreting what others say.
    – Dukeling
    34 mins ago
















  • 1




    Have you noticed the way others respond in code reviews? Have you seen cases where their responses didn't come across as passive-aggressive? Do that. Just stick with the facts and avoid passive-aggressive amplifiers like "actually" as much as you can.
    – Joe Strazzere
    1 hour ago












  • This seems highly dependent on culture and the personalities of those involved, and the specifics of the comment. Some don't really pick up on or mind snark and might dislike unnecessary sugarcoating, while others find snark in many things and appreciate some kinder ways of putting things. And someone might consider something snarky when it's said by one person, but not when it's said by another. Although you should always, within reason, try to avoid explaining or stating things others find obvious and always give the benefit of the doubt when interpreting what others say.
    – Dukeling
    34 mins ago










1




1




Have you noticed the way others respond in code reviews? Have you seen cases where their responses didn't come across as passive-aggressive? Do that. Just stick with the facts and avoid passive-aggressive amplifiers like "actually" as much as you can.
– Joe Strazzere
1 hour ago






Have you noticed the way others respond in code reviews? Have you seen cases where their responses didn't come across as passive-aggressive? Do that. Just stick with the facts and avoid passive-aggressive amplifiers like "actually" as much as you can.
– Joe Strazzere
1 hour ago














This seems highly dependent on culture and the personalities of those involved, and the specifics of the comment. Some don't really pick up on or mind snark and might dislike unnecessary sugarcoating, while others find snark in many things and appreciate some kinder ways of putting things. And someone might consider something snarky when it's said by one person, but not when it's said by another. Although you should always, within reason, try to avoid explaining or stating things others find obvious and always give the benefit of the doubt when interpreting what others say.
– Dukeling
34 mins ago






This seems highly dependent on culture and the personalities of those involved, and the specifics of the comment. Some don't really pick up on or mind snark and might dislike unnecessary sugarcoating, while others find snark in many things and appreciate some kinder ways of putting things. And someone might consider something snarky when it's said by one person, but not when it's said by another. Although you should always, within reason, try to avoid explaining or stating things others find obvious and always give the benefit of the doubt when interpreting what others say.
– Dukeling
34 mins ago












2 Answers
2






active

oldest

votes

















up vote
0
down vote













Your example states simple facts (if truly Z does Y) and would have been just fine as a reply.



The best answer would have been




"Actually Z does Y"




Concise, objective and precise without any personal context.



In professional conversations you stick to objective facts and established procedures.



You leave out personal comments or remarks, pointing fingers or attacking personally.



If someone made an obvious mistake that you're certain of or they misunderstood your own code, you're not only allowed but also obliged to correct them in a respectful manner, avoiding embarrassing or reprimanding them with other people present.



Stating objective facts is not passive aggression and anyone offended by them is unprofessional.






share|improve this answer























  • Bonus points if you point to documentation that proves "Z does Y".
    – jcmack
    50 mins ago


















up vote
0
down vote













The best way to correct anyone in a situation is by doing so in a manner that allows them to save face, especially when doing reviews like this.



The best way to do it is to act a bit unsure




Hmmmm... Let me just double check... Ah! Here we are. Z does Y. I'm sorry if I didn't comment that clearly enough.




Or something like that. You're right to feel that "X actually doesn't do Y. Z is the one that actually does Y". sounds snarky.



Another way you could phrase that is by gently nudging the person to walk through it again.




Let's check again.... Can you show me what's wrong?




and let the person find the mistake himself.



It's better to let a person save face than to be right.





share





















    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "423"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    convertImagesToLinks: false,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    noCode: true, onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });






    Jonathan Park is a new contributor. Be nice, and check out our Code of Conduct.










    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fworkplace.stackexchange.com%2fquestions%2f124438%2fhow-to-not-sound-passive-aggressive-in-code-reviews%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    0
    down vote













    Your example states simple facts (if truly Z does Y) and would have been just fine as a reply.



    The best answer would have been




    "Actually Z does Y"




    Concise, objective and precise without any personal context.



    In professional conversations you stick to objective facts and established procedures.



    You leave out personal comments or remarks, pointing fingers or attacking personally.



    If someone made an obvious mistake that you're certain of or they misunderstood your own code, you're not only allowed but also obliged to correct them in a respectful manner, avoiding embarrassing or reprimanding them with other people present.



    Stating objective facts is not passive aggression and anyone offended by them is unprofessional.






    share|improve this answer























    • Bonus points if you point to documentation that proves "Z does Y".
      – jcmack
      50 mins ago















    up vote
    0
    down vote













    Your example states simple facts (if truly Z does Y) and would have been just fine as a reply.



    The best answer would have been




    "Actually Z does Y"




    Concise, objective and precise without any personal context.



    In professional conversations you stick to objective facts and established procedures.



    You leave out personal comments or remarks, pointing fingers or attacking personally.



    If someone made an obvious mistake that you're certain of or they misunderstood your own code, you're not only allowed but also obliged to correct them in a respectful manner, avoiding embarrassing or reprimanding them with other people present.



    Stating objective facts is not passive aggression and anyone offended by them is unprofessional.






    share|improve this answer























    • Bonus points if you point to documentation that proves "Z does Y".
      – jcmack
      50 mins ago













    up vote
    0
    down vote










    up vote
    0
    down vote









    Your example states simple facts (if truly Z does Y) and would have been just fine as a reply.



    The best answer would have been




    "Actually Z does Y"




    Concise, objective and precise without any personal context.



    In professional conversations you stick to objective facts and established procedures.



    You leave out personal comments or remarks, pointing fingers or attacking personally.



    If someone made an obvious mistake that you're certain of or they misunderstood your own code, you're not only allowed but also obliged to correct them in a respectful manner, avoiding embarrassing or reprimanding them with other people present.



    Stating objective facts is not passive aggression and anyone offended by them is unprofessional.






    share|improve this answer














    Your example states simple facts (if truly Z does Y) and would have been just fine as a reply.



    The best answer would have been




    "Actually Z does Y"




    Concise, objective and precise without any personal context.



    In professional conversations you stick to objective facts and established procedures.



    You leave out personal comments or remarks, pointing fingers or attacking personally.



    If someone made an obvious mistake that you're certain of or they misunderstood your own code, you're not only allowed but also obliged to correct them in a respectful manner, avoiding embarrassing or reprimanding them with other people present.



    Stating objective facts is not passive aggression and anyone offended by them is unprofessional.







    share|improve this answer














    share|improve this answer



    share|improve this answer








    edited 31 mins ago









    jcmack

    7,24211539




    7,24211539










    answered 1 hour ago









    DigitalBlade969

    3,2051315




    3,2051315












    • Bonus points if you point to documentation that proves "Z does Y".
      – jcmack
      50 mins ago


















    • Bonus points if you point to documentation that proves "Z does Y".
      – jcmack
      50 mins ago
















    Bonus points if you point to documentation that proves "Z does Y".
    – jcmack
    50 mins ago




    Bonus points if you point to documentation that proves "Z does Y".
    – jcmack
    50 mins ago












    up vote
    0
    down vote













    The best way to correct anyone in a situation is by doing so in a manner that allows them to save face, especially when doing reviews like this.



    The best way to do it is to act a bit unsure




    Hmmmm... Let me just double check... Ah! Here we are. Z does Y. I'm sorry if I didn't comment that clearly enough.




    Or something like that. You're right to feel that "X actually doesn't do Y. Z is the one that actually does Y". sounds snarky.



    Another way you could phrase that is by gently nudging the person to walk through it again.




    Let's check again.... Can you show me what's wrong?




    and let the person find the mistake himself.



    It's better to let a person save face than to be right.





    share

























      up vote
      0
      down vote













      The best way to correct anyone in a situation is by doing so in a manner that allows them to save face, especially when doing reviews like this.



      The best way to do it is to act a bit unsure




      Hmmmm... Let me just double check... Ah! Here we are. Z does Y. I'm sorry if I didn't comment that clearly enough.




      Or something like that. You're right to feel that "X actually doesn't do Y. Z is the one that actually does Y". sounds snarky.



      Another way you could phrase that is by gently nudging the person to walk through it again.




      Let's check again.... Can you show me what's wrong?




      and let the person find the mistake himself.



      It's better to let a person save face than to be right.





      share























        up vote
        0
        down vote










        up vote
        0
        down vote









        The best way to correct anyone in a situation is by doing so in a manner that allows them to save face, especially when doing reviews like this.



        The best way to do it is to act a bit unsure




        Hmmmm... Let me just double check... Ah! Here we are. Z does Y. I'm sorry if I didn't comment that clearly enough.




        Or something like that. You're right to feel that "X actually doesn't do Y. Z is the one that actually does Y". sounds snarky.



        Another way you could phrase that is by gently nudging the person to walk through it again.




        Let's check again.... Can you show me what's wrong?




        and let the person find the mistake himself.



        It's better to let a person save face than to be right.





        share












        The best way to correct anyone in a situation is by doing so in a manner that allows them to save face, especially when doing reviews like this.



        The best way to do it is to act a bit unsure




        Hmmmm... Let me just double check... Ah! Here we are. Z does Y. I'm sorry if I didn't comment that clearly enough.




        Or something like that. You're right to feel that "X actually doesn't do Y. Z is the one that actually does Y". sounds snarky.



        Another way you could phrase that is by gently nudging the person to walk through it again.




        Let's check again.... Can you show me what's wrong?




        and let the person find the mistake himself.



        It's better to let a person save face than to be right.






        share











        share


        share










        answered 2 mins ago









        Richard U

        83.9k62217331




        83.9k62217331






















            Jonathan Park is a new contributor. Be nice, and check out our Code of Conduct.










            draft saved

            draft discarded


















            Jonathan Park is a new contributor. Be nice, and check out our Code of Conduct.













            Jonathan Park is a new contributor. Be nice, and check out our Code of Conduct.












            Jonathan Park is a new contributor. Be nice, and check out our Code of Conduct.
















            Thanks for contributing an answer to The Workplace Stack Exchange!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.





            Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


            Please pay close attention to the following guidance:


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fworkplace.stackexchange.com%2fquestions%2f124438%2fhow-to-not-sound-passive-aggressive-in-code-reviews%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Mouse cursor on multiple screens with different PPI

            Agildo Ribeiro

            Sometime when accessing a menu: “Ubuntu 16.04 has experienced an internal error”