<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Xaprb &#187; interviewing</title>
	<atom:link href="http://www.xaprb.com/blog/tag/interviewing/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.xaprb.com/blog</link>
	<description>Stay curious!</description>
	<lastBuildDate>Thu, 09 Feb 2012 03:58:56 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>You have the right to see code samples in an interview</title>
		<link>http://www.xaprb.com/blog/2008/05/04/you-have-the-right-to-see-code-samples-in-an-interview/</link>
		<comments>http://www.xaprb.com/blog/2008/05/04/you-have-the-right-to-see-code-samples-in-an-interview/#comments</comments>
		<pubDate>Sun, 04 May 2008 17:56:21 +0000</pubDate>
		<dc:creator>Xaprb</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[Perl]]></category>
		<category><![CDATA[code quality]]></category>
		<category><![CDATA[interviewing]]></category>
		<category><![CDATA[Joel Spolsky]]></category>

		<guid isPermaLink="false">http://www.xaprb.com/blog/2008/05/04/you-have-the-right-to-see-code-samples-in-an-interview/</guid>
		<description><![CDATA[Joel Spolsky writes about 12 steps to better code, and elsewhere about how candidates should write code in interviews. The reverse conditions are true, too. If you&#8217;re a candidate, you should evaluate the employer against the 12 steps, and you should also see code samples. How else will you know what you&#8217;re getting into? You [...]


<strong>Further Reading:</strong><ul><li><a href='http://www.xaprb.com/blog/2005/12/15/more-ways-to-use-udfs-instead-of-openxml/' rel='bookmark' title='Permanent Link: More alternatives to <code>openxml</code>'>More alternatives to <code>openxml</code></a></li>
<li><a href='http://www.xaprb.com/blog/2007/02/19/how-to-subtract-in-sql-over-samples-that-wrap/' rel='bookmark' title='Permanent Link: How to subtract in SQL over samples that wrap'>How to subtract in SQL over samples that wrap</a></li>
<li><a href='http://www.xaprb.com/blog/2009/02/23/using-develfastprof-to-find-slow-perl-code/' rel='bookmark' title='Permanent Link: Using Devel::FastProf to find slow Perl code'>Using Devel::FastProf to find slow Perl code</a></li>
<li><a href='http://www.xaprb.com/blog/2010/11/01/interview-on-webpulp-tv/' rel='bookmark' title='Permanent Link: Interview on webpulp.tv'>Interview on webpulp.tv</a></li>
<li><a href='http://www.xaprb.com/blog/2008/10/04/javascript-formatting-and-parsing-functions-now-on-google-code/' rel='bookmark' title='Permanent Link: Javascript formatting and parsing functions now on Google Code'>Javascript formatting and parsing functions now on Google Code</a></li>
</ul>]]></description>
			<content:encoded><![CDATA[<p>Joel Spolsky writes about <a href="http://www.joelonsoftware.com/articles/fog0000000043.html">12 steps to better code</a>, and elsewhere about how <a href="http://www.joelonsoftware.com/articles/GuerrillaInterviewing3.html">candidates should write code in interviews</a>.</p>

<p>The reverse conditions are true, too.  If you&#8217;re a candidate, you should evaluate the employer against the 12 steps, <strong>and you should also see code samples</strong>.  How else will you know what you&#8217;re getting into?  You really have the right to do this, and you should exercise the right.  If you don&#8217;t, you&#8217;ll get stuck in a crap job maintaining crap code.  [dramatic voice] It happened to me.</p>

<p>In many companies, you can see code they&#8217;ve released as open-source.  (The fact that they&#8217;ve done this says a lot about them.)  But in others, you&#8217;re going to need to surprise someone and say &#8220;pick some code that&#8217;s not sensitive and show it to me.&#8221;  Something simple, like the HTML for the search form on their website, or a utility to do some systems administration task.  Any company is going to have a lot of code like this that they can show you.</p>

<p>The other approaches I see are to ask about it, assume, or ask the interviewer to write some code for you.</p>

<ol>
<li>Asking is a valid approach.  If you see hesitation, or if someone says &#8220;well, it&#8217;s not as nice as we&#8217;d like, and we&#8217;re hoping you will offset that&#8221; run don&#8217;t walk, is my advice.  If you&#8217;re reading this as you consider your first job out of college or something, I strongly suggest not getting a job with a company that wants you to improve the way they do things.  You should be learning from them, not vice versa.</li>

<li>You can also assume.  &#8220;Oh, they use Perl?  Nevermind.&#8221;  That&#8217;s a stupid approach.  Really.  Is it acceptable to judge people&#8217;s character by the color of their skin?  Then why would you judge their code by the language?  In all seriousness, I have actually written very elegant, clean VBScript.  And I mean, good-quality code by anyone&#8217;s standards.  It&#8217;s hard in VBScript.  It&#8217;s easy in Perl if you <a href="http://www.xaprb.com/blog/2008/04/01/review-of-perl-best-practices/">follow the Dog</a>, which is a sign of great intelligence.  Think about it this way: people who write beautiful Perl are people you should be eager to work with; they are rocket scientists.  You will be the dumbest person in the room, and that should make you happy.</li>

<li>I&#8217;ve never asked an interviewer to write code for me.  Let me know how it works out for you.</li>
</ol>

<p><strong>Further Reading:</strong><ul><li><a href='http://www.xaprb.com/blog/2005/12/15/more-ways-to-use-udfs-instead-of-openxml/' rel='bookmark' title='Permanent Link: More alternatives to <code>openxml</code>'>More alternatives to <code>openxml</code></a></li>
<li><a href='http://www.xaprb.com/blog/2007/02/19/how-to-subtract-in-sql-over-samples-that-wrap/' rel='bookmark' title='Permanent Link: How to subtract in SQL over samples that wrap'>How to subtract in SQL over samples that wrap</a></li>
<li><a href='http://www.xaprb.com/blog/2009/02/23/using-develfastprof-to-find-slow-perl-code/' rel='bookmark' title='Permanent Link: Using Devel::FastProf to find slow Perl code'>Using Devel::FastProf to find slow Perl code</a></li>
<li><a href='http://www.xaprb.com/blog/2010/11/01/interview-on-webpulp-tv/' rel='bookmark' title='Permanent Link: Interview on webpulp.tv'>Interview on webpulp.tv</a></li>
<li><a href='http://www.xaprb.com/blog/2008/10/04/javascript-formatting-and-parsing-functions-now-on-google-code/' rel='bookmark' title='Permanent Link: Javascript formatting and parsing functions now on Google Code'>Javascript formatting and parsing functions now on Google Code</a></li>
</ul>]]></content:encoded>
			<wfw:commentRss>http://www.xaprb.com/blog/2008/05/04/you-have-the-right-to-see-code-samples-in-an-interview/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

