How to gain trust at workplace?

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty margin-bottom:0;







up vote
0
down vote

favorite












I recently joined small software company and have been assigned to project in which one of team member is very senior has been working on the same code base for about 7 years.



Part of my assignment is to maintain this code base. There is not much comments in the code neither any documentation. I am struggling to understand the code and part of the reason asking senior lot of questions regarding various scenario logic of the code. My manager get very angry when I ask code related questions. According to him, I should be capable of understanding the code on my own.



Once I had a chance to implement a new logic. So I did – to take revenge I did not put any comment to the code. Now this senior is struggling to understand my logic. He came and asked me to make him understand the logic. I just smiled and explained.



Question:
I am not sure how to approach the legacy code and gain trust. The Manager and this senior are working together for a very long time. It is becoming very difficult to gain his trust.









share







New contributor




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

























    up vote
    0
    down vote

    favorite












    I recently joined small software company and have been assigned to project in which one of team member is very senior has been working on the same code base for about 7 years.



    Part of my assignment is to maintain this code base. There is not much comments in the code neither any documentation. I am struggling to understand the code and part of the reason asking senior lot of questions regarding various scenario logic of the code. My manager get very angry when I ask code related questions. According to him, I should be capable of understanding the code on my own.



    Once I had a chance to implement a new logic. So I did – to take revenge I did not put any comment to the code. Now this senior is struggling to understand my logic. He came and asked me to make him understand the logic. I just smiled and explained.



    Question:
    I am not sure how to approach the legacy code and gain trust. The Manager and this senior are working together for a very long time. It is becoming very difficult to gain his trust.









    share







    New contributor




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





















      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I recently joined small software company and have been assigned to project in which one of team member is very senior has been working on the same code base for about 7 years.



      Part of my assignment is to maintain this code base. There is not much comments in the code neither any documentation. I am struggling to understand the code and part of the reason asking senior lot of questions regarding various scenario logic of the code. My manager get very angry when I ask code related questions. According to him, I should be capable of understanding the code on my own.



      Once I had a chance to implement a new logic. So I did – to take revenge I did not put any comment to the code. Now this senior is struggling to understand my logic. He came and asked me to make him understand the logic. I just smiled and explained.



      Question:
      I am not sure how to approach the legacy code and gain trust. The Manager and this senior are working together for a very long time. It is becoming very difficult to gain his trust.









      share







      New contributor




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











      I recently joined small software company and have been assigned to project in which one of team member is very senior has been working on the same code base for about 7 years.



      Part of my assignment is to maintain this code base. There is not much comments in the code neither any documentation. I am struggling to understand the code and part of the reason asking senior lot of questions regarding various scenario logic of the code. My manager get very angry when I ask code related questions. According to him, I should be capable of understanding the code on my own.



      Once I had a chance to implement a new logic. So I did – to take revenge I did not put any comment to the code. Now this senior is struggling to understand my logic. He came and asked me to make him understand the logic. I just smiled and explained.



      Question:
      I am not sure how to approach the legacy code and gain trust. The Manager and this senior are working together for a very long time. It is becoming very difficult to gain his trust.







      work-environment





      share







      New contributor




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










      share







      New contributor




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








      share



      share






      New contributor




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









      asked 2 mins ago









      component

      71




      71




      New contributor




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





      New contributor





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






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

























          active

          oldest

          votes











          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: false,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          noCode: true, onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );






          component 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%2f121286%2fhow-to-gain-trust-at-workplace%23new-answer', 'question_page');

          );

          Post as a guest



































          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








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









           

          draft saved


          draft discarded


















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












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











          component 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%2f121286%2fhow-to-gain-trust-at-workplace%23new-answer', 'question_page');

          );

          Post as a guest













































































          Comments

          Popular posts from this blog

          Long meetings (6-7 hours a day): Being “babysat” by supervisor

          Is the Concept of Multiple Fantasy Races Scientifically Flawed? [closed]

          Confectionery