During my time as a self-taught developer, one of the things that I always missed was interaction: someone I could discuss certain coding doubts with and someone who could give me feedback about my projects. My learning journey started to move much faster when I decided to get a mentor and participate at The Collab Lab, where I built an app in a team for 8 weeks.
This was my first coding experience collaborating with other developers in the same project and one of the things that helped me improve my coding and communication skills was not only pair programming but also doing code reviews.
We were a team of 4 developers and 3 mentors. Each week, 2 developers would pair to work on a task. By the end of the week the goal was not only having the task solved but also reviewing our colleague's code.
We would start analyzing the task individually and doing some pair programming sessions. Once the task was solved, we would write a PR (Pull Request) with the following information:
After that, our task would be reviewed by the other team and we would also start reviewing their task. The whole process would look like this:
It is an open conversation where everyone has the chance not only to share their knowledge but also to learn from each other.
A code review is also about collaboration: sharing your work and asking questions. It will not only help you become a better developer, but also help your team decentralize knowledge, share responsibility and improve code base quality.
👀 Don't forget that everyone made an effort to solve the issue (even if the solution is not completely perfect), that you are part of the same team and are working together towards the same goal! 🚀