this post was submitted on 10 Nov 2023
5 points (72.7% liked)
Git
2911 readers
1 users here now
Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency.
Resources
Rules
- Follow programming.dev rules
- Be excellent to each other, no hostility towards users for any reason
- No spam of tools/companies/advertisements. It’s OK to post your own stuff part of the time, but the primary use of the community should not be self-promotion.
Git Logo by Jason Long is licensed under the Creative Commons Attribution 3.0 Unported License.
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Why do you think seniors don't need their code reviewed?
Frankly, I'm the only (senior) programmer in the team, and the other two can write only serviceable python scripts, so I don't need them to review my code. They are seniors in the data itself, and mostly add/maintain other kinds of files/repos like sqls and other data related files that I don't need to review.
One good reason to have juniors review your code is for them to become familiar with not only the codebase itself, but best practices.
That's a pretty bad take. Everyone can make mistakes, and different perspectives are always beneficial. Reviewing your code may give some of the other devs a chance to learn. Who knows, they may even catch a mistake that you may miss.
I'm by no means saying my code is above review, but I'm talking based on my current team's make up.
Writers bias is real and even a less experienced set of eyes can spot a silly mistake that you've overlooked because you wrote it.
It's also a good learning experience for juniors. Seeing more skillfully written code and being able to ask questions about why you took an approach.