<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Robert Dong on Medium]]></title>
        <description><![CDATA[Stories by Robert Dong on Medium]]></description>
        <link>https://medium.com/@dongrobert21?source=rss-b5274c855ef5------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*7XBktyDV1Hn-1312ikBSUQ.png</url>
            <title>Stories by Robert Dong on Medium</title>
            <link>https://medium.com/@dongrobert21?source=rss-b5274c855ef5------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 29 Nov 2026 10:51:57 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@dongrobert21/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[How to ease your code review]]></title>
            <link>https://medium.com/gogox-technology/how-to-ease-your-code-review-2254baa867b6?source=rss-b5274c855ef5------2</link>
            <guid isPermaLink="false">https://medium.com/p/2254baa867b6</guid>
            <category><![CDATA[code-review]]></category>
            <category><![CDATA[engineering]]></category>
            <category><![CDATA[web-development]]></category>
            <dc:creator><![CDATA[Robert Dong]]></dc:creator>
            <pubDate>Tue, 09 Jun 2020 03:58:39 GMT</pubDate>
            <atom:updated>2020-06-09T03:58:39.937Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*eRtSFo8uXOnaE45_" /><figcaption>Photo by <a href="https://unsplash.com/@emilep?utm_source=medium&amp;utm_medium=referral">Emile Perron</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>At GOGOVAN, we understand how code review is crucial for delivering quality products: early detection of defects, consistent coding convention, code knowledge sharing with our peers.</p><p>This article is about how we prepare the pull request to get the best out of the code review from our peers.</p><p><strong>Pull request description:</strong></p><p>This is the first thing code reviewers will see when they pick up a pull request. Also, any developer should be able to pick it up anytime. That is why everyone should make it <strong><em>clear, descriptive and accurate</em></strong>.</p><p>For that, it takes no special skill. Just structure your pull request with the following questions:</p><ul><li>What does this change?</li><li>Why is this change important?</li><li>How do we test this change?</li></ul><p>We have developed a standard pull request templates to keep the structure consistent <a href="https://help.github.com/en/github/building-a-strong-community/about-issue-and-pull-request-templates#pull-request-templates">https://help.github.com/en/github/building-a-strong-community/about-issue-and-pull-request-templates#pull-request-templates</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3wBZH0klp0rdWpcyg3VbTw.png" /></figure><p>To bring more clarity, add screenshots or links pointing to the design document to help your reviewer.</p><p>Give clear instructions to your reviewer so they can test what was agreed during the sprint planning.</p><p>Finally, code reviewer will complete a checklist to validate all the tests.</p><p><strong>Pull request size:</strong></p><p>KISS — Keep It Short and Simple.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jlJgohEltR_OezPbS-5weA.png" /></figure><p>Sadly we have all been through this. Or at least we have witnessed it.</p><p>Small pull requests are easier to review and more engaging for discussion.</p><p>Small pull requests can be released faster and make the delivery process more efficient.</p><p>However, if the pull request turns out to be bigger than expected, we break it into smaller pieces and treat them as separate pull requests. This can avoid fogging our code reviewers’ minds and miss out on things.</p><p><strong>Commit size, commit sequence, and commit message:</strong></p><p>Same as pull request. A commit should be small.</p><p>Each commit should cover one intention and the commit message describes concisely that intention.</p><p>The commit sequence can be seen as a guide that would walk the code reviewer through the implementation step by step.</p><p>We commit amend / fixup / squash to often keep the sequence logical and easy to follow.</p><p>When we address feedbacks from code reviewer, we add a new commit on top of the reviewed commits to isolate the change. The commit message describes the feedback that has been addressed.</p><p><strong>Pull request comment:</strong></p><p>Sometimes we may foresee an implementation detail would be subject to discussion. A variable naming for example. We will leave a comment to explain the reason why to help reviewers to understand better.</p><p><strong>Final check before requesting a code review:</strong></p><p>Like any chefs — Taste the food before serving. We as developers do the code review ourselves first. Confirm that the unit tests and end-to-end tests are successful before rolling it out to reviewers.</p><p>I hope you enjoy the read. Feel free to drop any feedback in the comment section and exchange ideas!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2254baa867b6" width="1" height="1" alt=""><hr><p><a href="https://medium.com/gogox-technology/how-to-ease-your-code-review-2254baa867b6">How to ease your code review</a> was originally published in <a href="https://medium.com/gogox-technology">GOGOX Technology</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>