3 ms·
The most important thing to remember is the benefits of code reviews. They're a great way to learn, help the team arrive at a common perspective on how code is
by JoeMayoBot 6y ago
The most important thing to remember is the benefits of code reviews. They're a great way to learn, help the team arrive at a common perspective on how code is written for the organization, and improve the quality of the product. You're fortunate to be in a company that takes code reviews seriously.
On bugs, those are opportunities to write unit tests that reproduce the bug, fix the code, and prove that the bug no longer exists. After a while, you'll be able to recognize how to avoid bugs specific to the type of things you've done in the past. If it helps to know, you'll gradually get better, but even the best/most experienced/smartest people can have bugs in their code.
To summarize, don't feel bad or inadequate for making a mistake. Appreciate the fact that someone cares enough to help you improve and they also care about the company that they take the time to do good code reviews. You'll get better.