<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Daniel Tamai</title>
    <description>The latest articles on DEV Community by Daniel Tamai (@dtamai).</description>
    <link>https://dev.to/dtamai</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F99253%2F445ac508-a80a-40b4-b7f3-8e06d4332970.jpeg</url>
      <title>DEV Community: Daniel Tamai</title>
      <link>https://dev.to/dtamai</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/dtamai"/>
    <language>en</language>
    <item>
      <title>Hiring process: should I review some candidate's code looking for errors or potential for being better?</title>
      <dc:creator>Daniel Tamai</dc:creator>
      <pubDate>Tue, 16 Apr 2019 02:00:10 +0000</pubDate>
      <link>https://dev.to/dtamai/hiring-process-should-i-review-some-candidate-s-code-looking-for-errors-or-potential-for-being-better-5d10</link>
      <guid>https://dev.to/dtamai/hiring-process-should-i-review-some-candidate-s-code-looking-for-errors-or-potential-for-being-better-5d10</guid>
      <description>&lt;p&gt;My experience is that it is much more common to look for errors when reviewing code submited by a candidate during the hiring process, things like:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;this class has too much responsibility&lt;/li&gt;
&lt;li&gt;that class does too little&lt;/li&gt;
&lt;li&gt;pattern X is not implemented correctly&lt;/li&gt;
&lt;li&gt;etc...&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;My current company is like this, and after reviewing their code we invite the candidate to discuss it: we read/explain our comments and they defend their decisions. After the discussion I'm feeling really tired (the mood is more confrontation than collaboration,) and I'm not sure what kind of person does well in this kind of process.&lt;/p&gt;

&lt;p&gt;So I thought about it and realized that instead of looking for errors I could look for potential for making that code better, just like normal code review:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;this class has too much responsibility, what about extract this and that into another class?&lt;/li&gt;
&lt;li&gt;this class does too little, what about moving it into that other class?&lt;/li&gt;
&lt;li&gt;if you change this and that the code will implement pattern X&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;On one hand this leads the candidate to an easy answer but on the other hand we know how they respond the a code review.&lt;/p&gt;

&lt;p&gt;Any thoughts/experience on reviewing code for hiring? &lt;/p&gt;

</description>
      <category>discuss</category>
    </item>
  </channel>
</rss>
