by Sherxon9 on 10/20/17, 8:43 PM with 6 comments
I love learning and getting feedback from others.But when 9 out of 10 commits are reviewed and rejected by the same Sr. Software engineer in my team I felt like there is smth wrong with me or with the other person. Recently, I ignored some of his feedback to change my code :( (i know it wasn't good)
My Question is How to deal with such situations?
by techjuice on 10/20/17, 8:57 PM
Are you following code style guidelines, is your code secure, is your code fast, are you make large code pushes that takes too long to review and test, are you submitting tests when required, are you updating your documentation, did you follow spec, does your code solve a problem related to a feature, bug request, etc.? If you are then there could be other things that might be outside of what you are doing that are not being properly communicated to you at all.
Have you talked to the team lead about the issues in your code to work towards improving the code you commit? Though it would be very beneficial to have the capability to submit your code to a dev CI/CD system that tells you what is wrong with your code automatically before you submit it for production review.
Though ultimately if you are not receiving feedback on how to improve the code your committing you should bring it up with management as it is the senior and above job to help guide and mentor junior developer's or new team members with any issues in their code. If this is not being done then it could be a leadership, managerial or cultural problem that needs to be resolved early on.
If you are still getting large rejections could you give us a few anonymized samples of some of the rejection notes on your commits?
by yoklov on 10/21/17, 7:37 PM
The only time I argue about review comments is if i think it wont work, or if I think it should be addressed in a future bug (maybe also if I think its much more complexity).
In general I don’t think you should treat it as saying really anything about you. They’re comments about the code, not about you or even your skill as a programmer.
by eberkund on 10/20/17, 8:52 PM
Is it nitpicking over variable names or spacing? Performance issues? Structure?