10. Incorrect attitude towards code inspection (code review)
As a beginner programmer, it's common to view code inspections as criticism. Many newcomers don't appreciate them and may even fear them. However, this attitude is fundamentally flawed and needs to be changed as soon as possible.
Instead, it's important to view every code inspection as a valuable learning opportunity. Embrace them, appreciate them, and learn from them. Take the comments and suggestions as a chance to improve your skills and knowledge. And don't forget to thank those who take the time to provide feedback.
As a programmer, you are a perpetual learner, and code inspections are just one form of learning. Sometimes, the inspector may even make a mistake, and it's your turn to teach them something. If their comment is incorrect, it may be because your code isn't clear enough, so take the opportunity to refine it.
In any case, a mutual exchange of knowledge is extremely valuable for programmers and pays off many times over. So, don't be afraid of code inspections. Embrace them, learn from them, and use them to become a better programmer.
Last updated