From the course: Programming Foundations: Conducting Code Reviews

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Write code review comments

Write code review comments

From the course: Programming Foundations: Conducting Code Reviews

Start my 1-month free trial

Write code review comments

- [Tutor] Let's add a comment on this PR to give some feedback on this code. In the last chapter, one suggestion we came up with was to change the roll dice function name to a name that is consistent with the rest of the code base. To add a comment, we'll click the line that the comment should apply to and write, can we change this function name to roll dice? We can format the function name with code styling by using back techs or the insert code setting listed in the editor. To add the comment we'll click add single comment. When writing a code review comment, it's very important to think about what you were writing and how you are stating your feedback. Feedback is already hard to give and receive and doing it through an online platform based on technical content, makes it even harder. As software developers, we already place so much pressure on ourselves about the code we write. In a code review, although feedback must be given, there are positive ways to give feedback. In a code…

Contents