<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" media="screen" href="/styles/xslt/rss.xslt"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:c9="http://channel9.msdn.com">
<channel>
	<title>Channel 9 Forums - Coffeehouse - Interviewing programmers</title>
	<atom:link rel="self" type="application/rss+xml" href="http://channel9.msdn.com/Forums/rss"></atom:link>
	<image>
		<url>http://mschnlnine.vo.llnwd.net/d1/Dev/App_Themes/C9/images/feedimage.png</url>
		<title>Channel 9 Forums - Coffeehouse - Interviewing programmers</title>
		<link>http://channel9.msdn.com/Forums</link>
	</image>
	<description>Channel 9 keeps you up to date with the latest news and behind the scenes info from Microsoft that developers love to keep up with. From LINQ to SilverLight – Watch videos and hear about all the cool technologies coming and the people behind them.</description>
	<link>http://channel9.msdn.com/Forums</link>
	<language>en</language>
	<pubDate>Sun, 26 May 2013 05:07:36 GMT</pubDate>
	<lastBuildDate>Sun, 26 May 2013 05:07:36 GMT</lastBuildDate>
	<generator>Rev9</generator>
	<c9:totalResults>80</c9:totalResults>
	<c9:pageCount>-80</c9:pageCount>
	<c9:pageSize>-1</c9:pageSize>
	<item>
		<title>Coffeehouse - Interviewing programmers</title>
		<description><![CDATA[<p>I am interviewing candidates for a C#/C&#43;&#43; programming position and I just need some ideas for good technical questions to ask to guage someones experience.&nbsp;&nbsp;&nbsp; I am mostly concerned with C# experience.&nbsp; Does anyone have some good ideas on questions I&nbsp;should
 ask?<br>
<br>
Questions involving using Sockets and Threading&nbsp; would be helpful too.<br>
<br>
They don't have to be trick questions, but one I thought of was &quot;Name a class that does not have the .ToString() method&quot;.<br>
<br>
</p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/257126#257126</link>
		<pubDate>Tue, 21 Aug 2007 16:15:30 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/257126#257126</guid>
		<dc:creator>pathfinder</dc:creator>
		<slash:comments>80</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/pathfinder/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Interviewing programmers</title>
		<description><![CDATA[<p><blockquote>
<div class="quoteAuthor">pathfinder wrote:</div>
<div class="quoteBody">&#65279;
<p>I am interviewing candidates for a C#/C&#43;&#43; programming position and I just need some ideas for good technical questions to ask to guage someones experience.&nbsp;&nbsp;&nbsp; I am mostly concerned with C# experience.&nbsp; Does anyone have some good ideas on questions I&nbsp;should
 ask?<br>
<br>
Questions involving using Sockets and Threading&nbsp; would be helpful too.<br>
<br>
They don't have to be trick questions, but one I thought of was &quot;Name a class that does not have the .ToString() method&quot;.<br>
<br>
</p>
</div>
</blockquote>
<br>
<br>
Are you going to not hire someone if they don't know which class doesn't have a .ToString() method?<br>
<br>
Hell, I don't know this off the top of my head, and I'm willing to bet I've got a pretty decent knowledge of C#.<br>
<br>
Mostly because it isn't pertinent to the skillset.</p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/c1afc46433ea40208a659dec00a11a43#c1afc46433ea40208a659dec00a11a43</link>
		<pubDate>Tue, 21 Aug 2007 17:28:02 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/c1afc46433ea40208a659dec00a11a43#c1afc46433ea40208a659dec00a11a43</guid>
		<dc:creator>ScanIAm</dc:creator>
		<slash:comments>80</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/ScanIAm/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Interviewing programmers</title>
		<description><![CDATA[<p><blockquote>
<div class="quoteAuthor">pathfinder wrote:</div>
<div class="quoteBody">&#65279;
<p>I am interviewing candidates for a C#/C&#43;&#43; programming position and I just need some ideas for good technical questions to ask to guage someones experience.&nbsp;&nbsp;&nbsp; I am mostly concerned with C# experience.&nbsp; Does anyone have some good ideas on questions I&nbsp;should
 ask?<br>
<br>
Questions involving using Sockets and Threading&nbsp; would be helpful too.<br>
<br>
They don't have to be trick questions, but one I thought of was &quot;Name a class that does not have the .ToString() method&quot;.<br>
<br>
</p>
</div>
</blockquote>
<br>
<br>
Is there one? All classes extend System.Object which provides the .ToString() method.<br></p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/476013005289489080c99dec00a11a6d#476013005289489080c99dec00a11a6d</link>
		<pubDate>Tue, 21 Aug 2007 17:33:00 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/476013005289489080c99dec00a11a6d#476013005289489080c99dec00a11a6d</guid>
		<dc:creator>evildictaitor</dc:creator>
		<slash:comments>80</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/evildictaitor/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Interviewing programmers</title>
		<description><![CDATA[<p>As he said in his message, there isn't one, System.Object has it, so they all have it<br></p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/e6345239369e4d59a4389dec00a11a95#e6345239369e4d59a4389dec00a11a95</link>
		<pubDate>Tue, 21 Aug 2007 17:36:35 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/e6345239369e4d59a4389dec00a11a95#e6345239369e4d59a4389dec00a11a95</guid>
		<dc:creator>Martin Carolan</dc:creator>
		<slash:comments>80</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/Martin Carolan/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Interviewing programmers</title>
		<description><![CDATA[<p><blockquote>
<div class="quoteAuthor">pathfinder wrote:</div>
<div class="quoteBody">&#65279;
<p>I am interviewing candidates for a C#/C&#43;&#43; programming position and I just need some ideas for good technical questions to ask to guage someones experience.&nbsp;&nbsp;&nbsp; I am mostly concerned with C# experience.&nbsp; Does anyone have some good ideas on questions I&nbsp;should
 ask?<br>
<br>
Questions involving using Sockets and Threading&nbsp; would be helpful too.<br>
<br>
They don't have to be trick questions, but one I thought of was &quot;Name a class that does not have the .ToString() method&quot;.<br>
<br>
</p>
</div>
</blockquote>
<br>
<br>
<br>
&quot;What is polymorphism and why is is useful?&quot;<br>
<br>
I was shocked at the number of candidates that couldn't separate polymorphism from class inheritance and I don't think I've met one yet who could explain why it was useful (other than inheriting functionality, which is not the correct answer).<br>
<br>
<br>
Also, for C#, ask them to explain garbage collection.<br>
<br>
<br>
Herbie<br></p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/0970db237bbe4461834b9dec00a11ac3#0970db237bbe4461834b9dec00a11ac3</link>
		<pubDate>Tue, 21 Aug 2007 17:38:36 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/0970db237bbe4461834b9dec00a11ac3#0970db237bbe4461834b9dec00a11ac3</guid>
		<dc:creator>Herbie Smith</dc:creator>
		<slash:comments>80</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/Dr Herbie/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Interviewing programmers</title>
		<description><![CDATA[<p>well, there are so many questions you may ask, a google search will guide you <img src='http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-5.gif' alt='Wink' /></p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/91795ad8851c474797ad9dec00a11aea#91795ad8851c474797ad9dec00a11aea</link>
		<pubDate>Tue, 21 Aug 2007 17:42:05 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/91795ad8851c474797ad9dec00a11aea#91795ad8851c474797ad9dec00a11aea</guid>
		<dc:creator>Ion Todirel</dc:creator>
		<slash:comments>80</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/Ion Todirel/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Interviewing programmers</title>
		<description><![CDATA[<p><blockquote>
<div class="quoteAuthor">Dr Herbie wrote:</div>
<div class="quoteBody">&#65279;&quot;What is polymorphism and why is is useful?&quot;<br>
<br>
I was shocked at the number of candidates that couldn't separate polymorphism from class inheritance and I don't think I've met one yet who could explain why it was useful (other than inheriting functionality, which is not the correct answer).<br>
<br>
<br>
Also, for C#, ask them to explain garbage collection.<br>
<br>
<br>
Herbie<br>
</div>
</blockquote>
good questions, also you may ask when Dispose method is called <img src='http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-1.gif' alt='Smiley' /></p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/508f124e4f9a4448a3699dec00a11b14#508f124e4f9a4448a3699dec00a11b14</link>
		<pubDate>Tue, 21 Aug 2007 17:43:44 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/508f124e4f9a4448a3699dec00a11b14#508f124e4f9a4448a3699dec00a11b14</guid>
		<dc:creator>Ion Todirel</dc:creator>
		<slash:comments>80</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/Ion Todirel/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Interviewing programmers</title>
		<description><![CDATA[<p><blockquote>
<div class="quoteAuthor">Martin Carolan wrote:</div>
<div class="quoteBody">&#65279;As he said in his message, there isn't one, System.Object has it, so they all have it<br>
</div>
</blockquote>
<br>
<br>
Not necessarily.<br>
<br>
If you compile your project with the /nostdlib you can define your own classes which don't inherit from System.Object (it's how you compile mscorlib.dll btw).<br>
<br>
<blockquote>
<div class="quoteAuthor">Dr Herbie wrote:</div>
<div class="quoteBody">&#65279;&quot;What is polymorphism and why is is useful?&quot;<br>
<br>
I was shocked at the number of candidates that couldn't separate polymorphism from class inheritance and I don't think I've met one yet who could explain why it was useful (other than inheriting functionality, which is not the correct answer).</div>
</blockquote>
<br>
<br>
It's useful because it enables code-reuse and overriding older/irrelevant methods.<br>
<br>
But they're not so much separate as they are dependent. Polymorphism depends on inheritance. That's why VB6 isn't a true OOP language.<br>
<br>
<blockquote>
<div class="quoteAuthor">Dr Herbie wrote:</div>
<div class="quoteBody">Also, for C#, ask them to explain garbage collection.</div>
</blockquote>
<br>
<br>
&quot;See Sharp Garbage Collection you say? Well I know the city santiation guys use thick gloves when dealing with the bins in the public loos&quot;<br></p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/eed1cb2e8be6419db08e9dec00a11b40#eed1cb2e8be6419db08e9dec00a11b40</link>
		<pubDate>Tue, 21 Aug 2007 17:43:54 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/eed1cb2e8be6419db08e9dec00a11b40#eed1cb2e8be6419db08e9dec00a11b40</guid>
		<dc:creator>W3bbo</dc:creator>
		<slash:comments>80</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/W3bbo/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Interviewing programmers</title>
		<description><![CDATA[<p>Duplicate post of evilness.<br></p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/7d8f0b7c2b93481faa019dec00a11b68#7d8f0b7c2b93481faa019dec00a11b68</link>
		<pubDate>Tue, 21 Aug 2007 17:45:08 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/7d8f0b7c2b93481faa019dec00a11b68#7d8f0b7c2b93481faa019dec00a11b68</guid>
		<dc:creator>W3bbo</dc:creator>
		<slash:comments>80</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/W3bbo/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Interviewing programmers</title>
		<description><![CDATA[<p><blockquote>
<div class="quoteAuthor">ScanIAm wrote:</div>
<div class="quoteBody">&#65279;
<blockquote>Are you going to not hire someone if they don't know which class doesn't have a .ToString() method?<br>
<br>
</blockquote>
</div>
</blockquote>
<br>
<br>
<br>
If I had a candidate that could answer the question and one that couldn't and everything else was equal, then probably yes.<br>
<blockquote></blockquote></p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/e6955752275f472f92ee9dec00a11b91#e6955752275f472f92ee9dec00a11b91</link>
		<pubDate>Tue, 21 Aug 2007 17:47:48 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/e6955752275f472f92ee9dec00a11b91#e6955752275f472f92ee9dec00a11b91</guid>
		<dc:creator>pathfinder</dc:creator>
		<slash:comments>80</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/pathfinder/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Interviewing programmers</title>
		<description><![CDATA[<p><blockquote>
<div class="quoteAuthor">W3bbo wrote:</div>
<div class="quoteBody">&#65279;
<blockquote>
<table class="quoteTable">
<tbody>
<tr>
<td valign="top" width="10"><img src="/Themes/AlmostGlass/images/icon-quote.gif"></td>
<td class="txt3"><strong>Martin Carolan wrote:</strong>
<hr size="1">
<i>&#65279;As he said in his message, there isn't one, System.Object has it, so they all have it<br>
</i></td>
</tr>
</tbody>
</table>
</blockquote>
<br>
<br>
Not necessarily.<br>
<br>
If you compile your project with the /nostdlib you can define your own classes which don't inherit from System.Object (it's how you compile mscorlib.dll btw).<br>
<br>
</div>
</blockquote>
<br>
<br>
Good point.&nbsp; What about P/Invoke?&nbsp; I like the suggestion about GC.&nbsp;&nbsp; These are good .NET&nbsp;questions, how about any questions that&nbsp;are specific to C# language structure?&nbsp;</p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/241917f3e1c04491ae249dec00a11bbb#241917f3e1c04491ae249dec00a11bbb</link>
		<pubDate>Tue, 21 Aug 2007 17:52:06 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/241917f3e1c04491ae249dec00a11bbb#241917f3e1c04491ae249dec00a11bbb</guid>
		<dc:creator>pathfinder</dc:creator>
		<slash:comments>80</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/pathfinder/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Interviewing programmers</title>
		<description><![CDATA[<p><blockquote>
<div class="quoteAuthor">Dr Herbie wrote:</div>
<div class="quoteBody">&#65279; Also, for C#, ask them to explain garbage collection. </div>
</blockquote>
<br>
<br>
That's easy. Every Wednesday morning, this large truck with robotic arms roams the neighborhood, lifts up our trash bins (which we've placed at the curb&nbsp;on the&nbsp;previous evening) and deposits the contents into the back of the truck. Sometimes, it must shake
 the bin a few times to extract all of the refuse. It then places the bin back down on the ground, near its original position at the curb. Thusly, the garbage has been collected.<br>
<br>
Am I hired?<br></p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/929c22f7396e4a54abd39dec00a11c7a#929c22f7396e4a54abd39dec00a11c7a</link>
		<pubDate>Tue, 21 Aug 2007 17:52:23 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/929c22f7396e4a54abd39dec00a11c7a#929c22f7396e4a54abd39dec00a11c7a</guid>
		<dc:creator>mstefan</dc:creator>
		<slash:comments>80</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/mstefan/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Interviewing programmers</title>
		<description><![CDATA[<p>As I've been interviewed recently you'd think I'd be able to help, but I got asked a bunch of really annoying &quot;what does X keyword mean&quot; questions.<br>
<br>
I suggest asking them about C# strings, (like why &quot;this &quot; &#43; someint.ToString() &#43; &quot; is stupid&quot; is a bad idea)<br>
<br>
Also you could ask them how they'd marshall a pointer by p/invoke. That'd be tricky methinks.<br>
<br>
But definitely ask them about garbage collection, and if they know about generations and what is the best amount of time to retain objects etc...)<br>
<br>
But mainly I'd ask them about OO principles, design patterns and stuff like that. Picking up C# is a week or so's work for a programmer who understands the principles.</p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/71d99d2c8e074a48aa0e9dec00a11cb6#71d99d2c8e074a48aa0e9dec00a11cb6</link>
		<pubDate>Tue, 21 Aug 2007 17:58:32 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/71d99d2c8e074a48aa0e9dec00a11cb6#71d99d2c8e074a48aa0e9dec00a11cb6</guid>
		<dc:creator>Massif</dc:creator>
		<slash:comments>80</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/Massif/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Interviewing programmers</title>
		<description><![CDATA[<p><blockquote>
<div class="quoteAuthor">pathfinder wrote:</div>
<div class="quoteBody">&#65279;
<p>I am interviewing candidates for a C#/C&#43;&#43; programming position and I just need some ideas for good technical questions to ask to guage someones experience.&nbsp;&nbsp;&nbsp; I am mostly concerned with C# experience.&nbsp; Does anyone have some good ideas on questions I&nbsp;should
 ask?<br>
<br>
Questions involving using Sockets and Threading&nbsp; would be helpful too.<br>
<br>
They don't have to be trick questions, but one I thought of was &quot;Name a class that does not have the .ToString() method&quot;.<br>
<br>
</p>
</div>
</blockquote>
<br>
<br>
Check out this blog entry on Coding Horror: <a href="http://www.codinghorror.com/blog/archives/000781.html">
Why Can't Programmers.. Program?</a>. It outlines some basic questions that have proven remarkably useful at weeding out the truly incompetent.<br>
<br>
You should just stick to very basic questions when it comes to programming, such as write a for loop. If you need somebody that can design a multi-process communication system, ask them basic questions about remoting, such as, pick your favorite remoting technique
 and establish a connection. For threading, ask them to establish a thread. <br>
<br>
I don't think that more complicated questions will prove anything one way or another (not everybody performs&nbsp;at their best&nbsp;during an interview).
<br>
<br>
Obviously these questions won't tell you if the person is truly competent or not, but they will tell you if they are incompetent. To judge further, just ask them about their experience with the things you are interested in. Try to get them to go deep and explain
 any&nbsp;complex/tricky parts as best they can (but don't&nbsp;make them&nbsp;write the code). <br>
<br>
Don't bother asking trivial or very technical questions. Trivia might be fun, but it's not a very good indicator of competence.
<br></p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/661e4d67958f4be09fd39dec00a11cf3#661e4d67958f4be09fd39dec00a11cf3</link>
		<pubDate>Tue, 21 Aug 2007 18:09:24 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/661e4d67958f4be09fd39dec00a11cf3#661e4d67958f4be09fd39dec00a11cf3</guid>
		<dc:creator>bbrewder</dc:creator>
		<slash:comments>80</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/bbrewder/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Interviewing programmers</title>
		<description><![CDATA[<p><blockquote>
<div class="quoteAuthor">bbrewder wrote:</div>
<div class="quoteBody">&#65279;For threading, ask them to establish a thread. </div>
</blockquote>
<br>
<br>
What if they give you an example back which just uses BackgroundWorker.<br>
<br>
Is that a partial-credit?<br></p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/73c6a82a87a64a7cb15f9dec00a11d1b#73c6a82a87a64a7cb15f9dec00a11d1b</link>
		<pubDate>Tue, 21 Aug 2007 18:11:08 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/73c6a82a87a64a7cb15f9dec00a11d1b#73c6a82a87a64a7cb15f9dec00a11d1b</guid>
		<dc:creator>W3bbo</dc:creator>
		<slash:comments>80</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/W3bbo/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Interviewing programmers</title>
		<description><![CDATA[<p>Some questions I'ved asked, to get a feel for how much the person understands the technology he's using:<br>
<br>
1) What are the primary differences between developing in a managed environment (C#, Java, etc) and an unmanaged one (C/C&#43;&#43; etc).
<br>
<br>
Some people stammer and go all glassy eyed. (&quot;Because it's newer&quot;). Some have some half-remembered or non-specific answers. (&quot;Because it's safer&quot; or &quot;Because we get to take advantage of the .NET framework&quot;). With others, you can see straight away that they
 have experience with unmanaged code and the advantages of managed code - less worries about memory management, having runtime checks to prevent access violations and overflows, and so forth.
<br>
<br>
2) Strings. Ask people how strings are implemented in .NET, why we need the StringBuilder class and, as an extra bonus, what all these interned immutable strings are good for. <img src='http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-1.gif' alt='Smiley' /><br>
<br>
3) XML. Ask about the different ways of working with XML files in .NET. Assuming they pass the first stage, ask them when would an XmlDocument be appropriate and when an XmlReader.<br>
<br>
All this assumes that these are even in your area of interest. Don't bother asking them about things that they don't need in their daily work.<br>
<br></p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/ed5d2ab3b0674e74a82a9dec00a11d58#ed5d2ab3b0674e74a82a9dec00a11d58</link>
		<pubDate>Tue, 21 Aug 2007 18:13:35 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/ed5d2ab3b0674e74a82a9dec00a11d58#ed5d2ab3b0674e74a82a9dec00a11d58</guid>
		<dc:creator>Yggdrasil</dc:creator>
		<slash:comments>80</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/Yggdrasil/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Interviewing programmers</title>
		<description><![CDATA[<p><blockquote>
<div class="quoteAuthor">W3bbo wrote:</div>
<div class="quoteBody">&#65279;<br>
<blockquote>
<table class="quoteTable">
<tbody>
<tr>
<td valign="top" width="10"><img src="/Themes/AlmostGlass/images/icon-quote.gif"></td>
<td class="txt3"><strong>Dr Herbie wrote:</strong>
<hr size="1">
<i>&#65279;&quot;What is polymorphism and why is is useful?&quot;<br>
<br>
I was shocked at the number of candidates that couldn't separate polymorphism from class inheritance and I don't think I've met one yet who could explain why it was useful (other than inheriting functionality, which is not the correct answer).</i></td>
</tr>
</tbody>
</table>
</blockquote>
<br>
<br>
It's useful because it enables code-reuse and overriding older/irrelevant methods.<br>
<br>
But they're not so much separate as they are dependent. Polymorphism depends on inheritance. That's why VB6 isn't a true OOP language.<br>
<br>
</div>
</blockquote>
<br>
<br>
OK, firstly polymorphism has nothing to do with code-reuse.&nbsp; That's where you're confusing class inheritance with polymorphism (although you're right, polymorphism does depend on inheritance). Polymorphism can also be done through pure interface inheritance.<br>
Polymorphism is where different classes can be made to appear the same through casting to a base class/interface. This allows all the references to be treated the same, thereby simplifying code that uses those objects.<br>
<br>
The classic example is a vector drawing program there all the shapes derive from the base 'BaseShape'.&nbsp; The specific instances of shapes that the user creates (Like CircleShape, TriangleShape and RectangleShape)&nbsp;are stored in a collection of BaseShape instances
 and&nbsp;the picture is drawn by iterating through all the BaseShape instances and caling the 'Draw' method.&nbsp; The main program has no knowledge of which shape it is drawing and it treats them all the same.<br>
The contents of the 'BaseShape' class are irrelevant to the technique of polymorphism; BaseShape may containa lot of shared code, or it may be an interface with no shared code. Polymorphism and code-reuse are two separate aspects of inheritance.<br>
<br>
<br>
I had been doing OOP for nearly 10 years before I realised this distinction.<br>
<br>
<br>
<br>
The next question would be:<br>
Other than inheritance, how else can you re-use code in an OOP fashion?<br>
<br>
<br>
Herbie<br></p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/553323b724e34dc9a0359dec00a11d88#553323b724e34dc9a0359dec00a11d88</link>
		<pubDate>Tue, 21 Aug 2007 19:32:56 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/553323b724e34dc9a0359dec00a11d88#553323b724e34dc9a0359dec00a11d88</guid>
		<dc:creator>Herbie Smith</dc:creator>
		<slash:comments>80</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/Dr Herbie/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Interviewing programmers</title>
		<description><![CDATA[<p>When testing knowlidge you should ask questions like:<br>
<br>
&quot;How would you do ...?&quot;<br>
<br>
When testing experience you should ask questions like:<br>
<br>
&quot;Can you give me a concrete example how you dealt with ... in project .... ?&quot;<br>
<br>
If the candidate answers in plural form,&nbsp;&quot;we did this&quot;, &quot;we did that&quot;, ask him what his/her contribution was.<br>
<br>
I tend to ask questions like:<br>
&quot;Can you explain to me how events work?&quot;<br>
&quot;What is a delegate?&quot;</p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/e195fc64e33e49aea0199dec00a11db1#e195fc64e33e49aea0199dec00a11db1</link>
		<pubDate>Tue, 21 Aug 2007 19:46:39 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/e195fc64e33e49aea0199dec00a11db1#e195fc64e33e49aea0199dec00a11db1</guid>
		<dc:creator>Maddus Mattus</dc:creator>
		<slash:comments>80</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/Maddus Mattus/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Interviewing programmers</title>
		<description><![CDATA[<p><blockquote>
<div class="quoteAuthor">Dr Herbie wrote:</div>
<div class="quoteBody">&#65279;
<blockquote>
<table class="quoteTable">
<tbody>
<tr>
<td valign="top" width="10"><img src="/Themes/AlmostGlass/images/icon-quote.gif"></td>
<td class="txt3"><strong>W3bbo wrote:</strong>
<hr size="1">
<i>&#65279;<br>
<blockquote>
<table class="quoteTable">
<tbody>
<tr>
<td valign="top" width="10"><img src="/Themes/AlmostGlass/images/icon-quote.gif"></td>
<td class="txt3"><strong>Dr Herbie wrote:</strong>
<hr size="1">
<i>&#65279;&quot;What is polymorphism and why is is useful?&quot;<br>
<br>
I was shocked at the number of candidates that couldn't separate polymorphism from class inheritance and I don't think I've met one yet who could explain why it was useful (other than inheriting functionality, which is not the correct answer).</i></td>
</tr>
</tbody>
</table>
</blockquote>
<br>
<br>
It's useful because it enables code-reuse and overriding older/irrelevant methods.<br>
<br>
But they're not so much separate as they are dependent. Polymorphism depends on inheritance. That's why VB6 isn't a true OOP language.<br>
<br>
</i></td>
</tr>
</tbody>
</table>
</blockquote>
<br>
<br>
OK, firstly polymorphism has nothing to do with code-reuse.&nbsp; That's where you're confusing class inheritance with polymorphism (although you're right, polymorphism does depend on inheritance). Polymorphism can also be done through pure interface inheritance.<br>
Polymorphism is where different classes can be made to appear the same through casting to a base class/interface. This allows all the references to be treated the same, thereby simplifying code that uses those objects.<br>
<br>
The classic example is a vector drawing program there all the shapes derive from the base 'BaseShape'.&nbsp; The specific instances of shapes that the user creates (Like CircleShape, TriangleShape and RectangleShape)&nbsp;are stored in a collection of BaseShape instances
 and&nbsp;the picture is drawn by iterating through all the BaseShape instances and caling the 'Draw' method.&nbsp; The main program has no knowledge of which shape it is drawing and it treats them all the same.<br>
The contents of the 'BaseShape' class are irrelevant to the technique of polymorphism; BaseShape may containa lot of shared code, or it may be an interface with no shared code. Polymorphism and code-reuse are two separate aspects of inheritance.<br>
<br>
<br>
I had been doing OOP for nearly 10 years before I realised this distinction.</div>
</blockquote>
For those of us out there who are self-taught programmers, this is a definite hurdle.&nbsp;For me the real difficulty was not the concepts behind polymorphism, but rather the lack of decent textbooks describing the concept. I can't count the number of textbooks
 that did not use any type of visual diagram when explaining these concepts...for me it would have been so much easier.&nbsp;</p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/3dc4382540404b9c94c19dec00a11de2#3dc4382540404b9c94c19dec00a11de2</link>
		<pubDate>Tue, 21 Aug 2007 19:47:56 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/3dc4382540404b9c94c19dec00a11de2#3dc4382540404b9c94c19dec00a11de2</guid>
		<dc:creator>thumbtacks2</dc:creator>
		<slash:comments>80</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/thumbtacks2/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Interviewing programmers</title>
		<description><![CDATA[<p>What does the keyword virtual mean? When would you use it?<br>
<br>
When would you use an abstract class over using an interface?<br>
<br>
What can you do to ensure that your objects are properly disposed of by GC?<br>
<br>
What happens when you call GC.Collect()? Why would you call it? What's the cost? What happens?<br>
<br>
Implement ToString()<br>
<br>
C<br>
<br></p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/e4332af230ca4d4f84c99dec00a11e0b#e4332af230ca4d4f84c99dec00a11e0b</link>
		<pubDate>Tue, 21 Aug 2007 19:58:48 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/e4332af230ca4d4f84c99dec00a11e0b#e4332af230ca4d4f84c99dec00a11e0b</guid>
		<dc:creator>Charles</dc:creator>
		<slash:comments>80</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/Charles/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Interviewing programmers</title>
		<description><![CDATA[<p>My approach<br>
<br>
Start off by asking a few softball programming trivia questions that anyone with any experience should be able to answer. If they fail&nbsp;these simple questions, it's obviously time to say &quot;Next!&quot;.&nbsp;<br>
<br>
Then follow up by asking them to describe the project they're currently working on and some of the specific techniques they're using. Ask them specific, open ended, questions about it like, &quot;Why did you&nbsp;use generic List rather than an array?&quot; or &quot;How did you
 decide that&nbsp;XML serialization was the best approach?&quot; The idea is to get a taste of how they organize their thoughts on familiar ground.<br>
<br>
The last part, if they've done well so far, is to present them with a sample problem that fits within your domain. For example, let's say you load a lot of oddly&nbsp;formatted raw data files into database tables. Ask them how they would approach the problem and
 have them&nbsp;pseudo-code out&nbsp;their solution. This will give you an idea of how they think when presented with something new.<br>
<br>
You can also ask off-beat thinking questions like &quot;Everybody knows why&nbsp;manhole covers are round but why are septic tank covers square?&quot;
<br>
<br>
<br></p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/d7c4bc3391f54e68a1459dec00a11e38#d7c4bc3391f54e68a1459dec00a11e38</link>
		<pubDate>Tue, 21 Aug 2007 20:01:36 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/d7c4bc3391f54e68a1459dec00a11e38#d7c4bc3391f54e68a1459dec00a11e38</guid>
		<dc:creator>bgmacaw</dc:creator>
		<slash:comments>80</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/bgmacaw/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Interviewing programmers</title>
		<description><![CDATA[<p>Mine does not have one<br>
<br>
<font face="Courier New">public class LittleguruFoo<br>
{<br>
&nbsp;&nbsp;&nbsp; public new bool ToString<br>
&nbsp;&nbsp;&nbsp; {<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; get { throw new NotImplementedException(&quot;I don't have a ToString method!&quot;); }<br>
&nbsp;&nbsp;&nbsp; }<br>
}</font><br>
<br>
<br>
Hehe <img src='http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-5.gif' alt='Wink' /><br>
<br>
<font face="Courier New">Foo f = new Foo();<br>
f.ToString(); // Compiler error.<br>
<br>
object f2 = new Foo();<br>
f2.ToString(); // Now I have one again. Holy cow, I can't escape.</font></p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/de0ee43bc31f4595bd2f9dec00a11e62#de0ee43bc31f4595bd2f9dec00a11e62</link>
		<pubDate>Tue, 21 Aug 2007 20:24:22 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/de0ee43bc31f4595bd2f9dec00a11e62#de0ee43bc31f4595bd2f9dec00a11e62</guid>
		<dc:creator>Christian Liensberger</dc:creator>
		<slash:comments>80</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/littleguru/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Interviewing programmers</title>
		<description><![CDATA[<p><blockquote>
<div class="quoteAuthor">pathfinder wrote:</div>
<div class="quoteBody">&#65279;<br>
Good point.&nbsp; What about P/Invoke?&nbsp; I like the suggestion about GC.&nbsp;&nbsp; These are good .NET&nbsp;questions, how about any questions that&nbsp;are specific to C# language structure?&nbsp;</div>
</blockquote>
<br>
<br>
When you use P/Invoke the result is always pseudo-typed into the correct struct / primative.<br>
<br>
E.g. if a P/Invoke signature returns an int, you get something which can be conceptually thought of as a System.Int32 which extends System.Object.<br>
<br>
<blockquote>
<div class="quoteAuthor">Maddus Mattus wrote:</div>
<div class="quoteBody"><br>
&quot;What is a delegate?&quot;<br>
</div>
</blockquote>
<br>
<br>
*<font color="#0000ff">void.<br>
<br>
</font></p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/bc6e308409e64f40be649dec00a11e8c#bc6e308409e64f40be649dec00a11e8c</link>
		<pubDate>Tue, 21 Aug 2007 20:32:16 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/bc6e308409e64f40be649dec00a11e8c#bc6e308409e64f40be649dec00a11e8c</guid>
		<dc:creator>evildictaitor</dc:creator>
		<slash:comments>80</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/evildictaitor/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Interviewing programmers</title>
		<description><![CDATA[<p>Double posty post post.<br></p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/b2fc50c561ae4e9795539dec00a11eb4#b2fc50c561ae4e9795539dec00a11eb4</link>
		<pubDate>Tue, 21 Aug 2007 20:34:38 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/b2fc50c561ae4e9795539dec00a11eb4#b2fc50c561ae4e9795539dec00a11eb4</guid>
		<dc:creator>evildictaitor</dc:creator>
		<slash:comments>80</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/evildictaitor/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Interviewing programmers</title>
		<description><![CDATA[<p><blockquote>
<div class="quoteAuthor">evildictaitor wrote:</div>
<div class="quoteBody">&#65279;<br>
<blockquote>
<table class="quoteTable">
<tbody>
<tr>
<td valign="top" width="10"><img src="/Themes/AlmostGlass/images/icon-quote.gif"></td>
<td class="txt3"><strong>Maddus Mattus wrote:</strong>
<hr size="1">
<i><br>
&quot;What is a delegate?&quot;<br>
</i></td>
</tr>
</tbody>
</table>
</blockquote>
<br>
<br>
*<font color="#0000ff">void.<br>
<br>
</font></div>
</blockquote>
<br>
<br>
I'm hoping that's a c&#43;&#43; question,...<br>
<br>
Because I would fail miserably <img src='http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-5.gif' alt='Wink' /></p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/50aec329a2cb41fdbc019dec00a11ede#50aec329a2cb41fdbc019dec00a11ede</link>
		<pubDate>Tue, 21 Aug 2007 21:09:58 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/50aec329a2cb41fdbc019dec00a11ede#50aec329a2cb41fdbc019dec00a11ede</guid>
		<dc:creator>Maddus Mattus</dc:creator>
		<slash:comments>80</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/Maddus Mattus/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Interviewing programmers</title>
		<description><![CDATA[<p><blockquote>
<div class="quoteAuthor">Maddus Mattus wrote:</div>
<div class="quoteBody">&#65279;
<blockquote>
<table class="quoteTable">
<tbody>
<tr>
<td valign="top" width="10"><img src="/Themes/AlmostGlass/images/icon-quote.gif"></td>
<td class="txt3"><strong>evildictaitor wrote:</strong>
<hr size="1">
<i>&#65279;<br>
<blockquote>
<table class="quoteTable">
<tbody>
<tr>
<td valign="top" width="10"><img src="/Themes/AlmostGlass/images/icon-quote.gif"></td>
<td class="txt3"><strong>Maddus Mattus wrote:</strong>
<hr size="1">
<i><br>
&quot;What is a delegate?&quot;<br>
</i></td>
</tr>
</tbody>
</table>
</blockquote>
<br>
<br>
*<font color="#0000ff">void.<br>
<br>
</font></i></td>
</tr>
</tbody>
</table>
</blockquote>
<br>
<br>
I'm hoping that's a c&#43;&#43; question,...<br>
<br>
Because I would fail miserably <img src="/emoticons/emotion-5.gif" border="0"></div>
</blockquote>
<br>
<br>
I think what he is getting as is that at the root of it, a delegate is a function pointer.</p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/ccd420fa228846f5904d9dec00a11f08#ccd420fa228846f5904d9dec00a11f08</link>
		<pubDate>Tue, 21 Aug 2007 21:22:11 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/ccd420fa228846f5904d9dec00a11f08#ccd420fa228846f5904d9dec00a11f08</guid>
		<dc:creator>JeremyJ</dc:creator>
		<slash:comments>80</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/JeremyJ/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Interviewing programmers</title>
		<description><![CDATA[<p><blockquote>
<div class="quoteAuthor">Ion Todirel wrote:</div>
<div class="quoteBody">&#65279;
<blockquote>
<table class="quoteTable">
<tbody>
<tr>
<td valign="top" width="10"><img src="/Themes/AlmostGlass/images/icon-quote.gif"></td>
<td class="txt3"><strong>Dr Herbie wrote:</strong>
<hr size="1">
<i>&#65279;&quot;What is polymorphism and why is is useful?&quot;<br>
<br>
I was shocked at the number of candidates that couldn't separate polymorphism from class inheritance and I don't think I've met one yet who could explain why it was useful (other than inheriting functionality, which is not the correct answer).<br>
<br>
<br>
Also, for C#, ask them to explain garbage collection.<br>
<br>
<br>
Herbie<br>
</i></td>
</tr>
</tbody>
</table>
</blockquote>
good questions, also you may ask when Dispose method is called <img src="/emoticons/emotion-1.gif" border="0"><br>
</div>
</blockquote>
<br>
<br>
And if that supports deterministic finalisation. Then ask about the Dispose pattern. (which is what i do, and did today)<br>
<br></p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/d6b9dd56ad884869bf059dec00a11f33#d6b9dd56ad884869bf059dec00a11f33</link>
		<pubDate>Tue, 21 Aug 2007 21:24:13 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/d6b9dd56ad884869bf059dec00a11f33#d6b9dd56ad884869bf059dec00a11f33</guid>
		<dc:creator>blowdart</dc:creator>
		<slash:comments>80</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/blowdart/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Interviewing programmers</title>
		<description><![CDATA[<p><blockquote>
<div class="quoteAuthor">Charles wrote:</div>
<div class="quoteBody">&#65279;What does the keyword virtual mean? When would you use it?<br>
<br>
</div>
</blockquote>
<br>
<br>
How does new differ from override; best illustrated by a piece of sample code; where each class has a Message method printing the class name; then declare all 3 classes as the base type.<br>
<br>
In the last 3 months only 1 person has gotten the final output right.<br></p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/a70c68d496274c97b4b69dec00a11f5e#a70c68d496274c97b4b69dec00a11f5e</link>
		<pubDate>Tue, 21 Aug 2007 21:26:05 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/a70c68d496274c97b4b69dec00a11f5e#a70c68d496274c97b4b69dec00a11f5e</guid>
		<dc:creator>blowdart</dc:creator>
		<slash:comments>80</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/blowdart/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Interviewing programmers</title>
		<description><![CDATA[<p><blockquote>
<div class="quoteAuthor">blowdart wrote:</div>
<div class="quoteBody">&#65279;
<blockquote>
<table class="quoteTable">
<tbody>
<tr>
<td valign="top" width="10"><img src="/Themes/AlmostGlass/images/icon-quote.gif"></td>
<td class="txt3"><strong>Charles wrote:</strong>
<hr size="1">
<i>&#65279;What does the keyword virtual mean? When would you use it?<br>
<br>
</i></td>
</tr>
</tbody>
</table>
</blockquote>
<br>
<br>
How does new differ from override; best illustrated by a piece of sample code; where each class has a Message method printing the class name; then declare all 3 classes as the base type.<br>
<br>
In the last 3 months only 1 person has gotten the final output right.<br>
</div>
</blockquote>
<br>
<br>
Well you haven't phrased your question properly. Write it out fully and I'll give it a stab.<br></p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/b00fc02152384b1e801c9dec00a11f89#b00fc02152384b1e801c9dec00a11f89</link>
		<pubDate>Tue, 21 Aug 2007 21:45:09 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/b00fc02152384b1e801c9dec00a11f89#b00fc02152384b1e801c9dec00a11f89</guid>
		<dc:creator>W3bbo</dc:creator>
		<slash:comments>80</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/W3bbo/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Interviewing programmers</title>
		<description><![CDATA[<p><blockquote>
<div class="quoteAuthor">Dr Herbie wrote:</div>
<div class="quoteBody">&#65279;<br>
OK, firstly polymorphism has nothing to do with code-reuse.&nbsp; That's where you're confusing class inheritance with polymorphism (although you're right, polymorphism does depend on inheritance). Polymorphism can also be done through pure interface inheritance.<br>
Polymorphism is where different classes can be made to appear the same through casting to a base class/interface. This allows all the references to be treated the same, thereby simplifying code that uses those objects.<br>
<br>
The classic example is a vector drawing program there all the shapes derive from the base 'BaseShape'.&nbsp; The specific instances of shapes that the user creates (Like CircleShape, TriangleShape and RectangleShape)&nbsp;are stored in a collection of BaseShape instances
 and&nbsp;the picture is drawn by iterating through all the BaseShape instances and caling the 'Draw' method.&nbsp; The main program has no knowledge of which shape it is drawing and it treats them all the same.<br>
The contents of the 'BaseShape' class are irrelevant to the technique of polymorphism; BaseShape may containa lot of shared code, or it may be an interface with no shared code. Polymorphism and code-reuse are two separate aspects of inheritance.<br>
<br>
<br>
I had been doing OOP for nearly 10 years before I realised this distinction.<br>
<br>
<br>
<br>
The next question would be:<br>
Other than inheritance, how else can you re-use code in an OOP fashion?<br>
<br>
<br>
Herbie<br>
</div>
</blockquote>
<br>
<br>
Good points!<br>
We use polymorphism&nbsp;when we are&nbsp;passing &nbsp;objects between the different tiers in our application.&nbsp;&nbsp;Any object that is exposed on the web tier and is passed&nbsp;back to the business tier&nbsp;MUST inherit off of an interface.&nbsp; The business tier and data access tier&nbsp;MUST
 use the same interface.&nbsp;&nbsp;&nbsp; In this case polymorphism is not used for code reuse but instead to keep our heads on straight.&nbsp; Especially since there are different programmers working in the different tiers.<br>
<br></p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/4231e30241d44064bf709dec00a11fb8#4231e30241d44064bf709dec00a11fb8</link>
		<pubDate>Tue, 21 Aug 2007 21:49:15 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/4231e30241d44064bf709dec00a11fb8#4231e30241d44064bf709dec00a11fb8</guid>
		<dc:creator>pathfinder</dc:creator>
		<slash:comments>80</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/pathfinder/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Interviewing programmers</title>
		<description><![CDATA[<p><blockquote>
<div class="quoteAuthor">W3bbo wrote:</div>
<div class="quoteBody">&#65279;
<blockquote>
<table class="quoteTable">
<tbody>
<tr>
<td valign="top" width="10"><br>
</td>
<td class="txt3"><i><br>
</i></td>
</tr>
</tbody>
</table>
</blockquote>
<br>
<br>
Well you haven't phrased your question properly. Write it out fully and I'll give it a stab.<br>
</div>
</blockquote>
<br>
<br>
I'll do it in the morning; if someone else hasn't done it.<br>
<br>
Basically in BaseClass have a vitual method Message which prints &quot;BaseClass&quot;. In SubClass1, derived from BaseClass override that method and print SubClass1, in SubClass2 new the method and print SubClass2. Now declare 3 variables of class BaseClass, one an
 instance of BaseClass, one an instance of SubClass1, one an instance of SubClass2. Call Message on each. What gets printed.<br></p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/94be82459777487f823f9dec00a11fe4#94be82459777487f823f9dec00a11fe4</link>
		<pubDate>Tue, 21 Aug 2007 21:52:45 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/94be82459777487f823f9dec00a11fe4#94be82459777487f823f9dec00a11fe4</guid>
		<dc:creator>blowdart</dc:creator>
		<slash:comments>80</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/blowdart/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Interviewing programmers</title>
		<description><![CDATA[<p><blockquote>
<div class="quoteAuthor">pathfinder wrote:</div>
<div class="quoteBody">&#65279;In this case polymorphism is not used for code reuse but instead to keep our heads on straight.&nbsp; Especially since there are different programmers working in the different tiers.<br>
<br>
</div>
</blockquote>
<br>
<br>
Pah, shift to late bound duck typed objects and remove that dependancy on a base object <img src='http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-5.gif' alt='Wink' /><br></p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/37d40a4934d5461f8be49dec00a1200d#37d40a4934d5461f8be49dec00a1200d</link>
		<pubDate>Tue, 21 Aug 2007 21:55:25 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/37d40a4934d5461f8be49dec00a1200d#37d40a4934d5461f8be49dec00a1200d</guid>
		<dc:creator>blowdart</dc:creator>
		<slash:comments>80</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/blowdart/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Interviewing programmers</title>
		<description><![CDATA[<p><blockquote>
<div class="quoteAuthor">W3bbo wrote:</div>
<div class="quoteBody">&#65279;
<blockquote>
<table class="quoteTable">
<tbody>
<tr>
<td valign="top" width="10"><img src="/Themes/AlmostGlass/images/icon-quote.gif"></td>
<td class="txt3"><strong>blowdart wrote:</strong>
<hr size="1">
<i>&#65279;
<blockquote>
<table class="quoteTable">
<tbody>
<tr>
<td valign="top" width="10"><img src="/Themes/AlmostGlass/images/icon-quote.gif"></td>
<td class="txt3"><strong>Charles wrote:</strong>
<hr size="1">
<i>&#65279;What does the keyword virtual mean? When would you use it?<br>
<br>
</i></td>
</tr>
</tbody>
</table>
</blockquote>
<br>
<br>
How does new differ from override; best illustrated by a piece of sample code; where each class has a Message method printing the class name; then declare all 3 classes as the base type.<br>
<br>
In the last 3 months only 1 person has gotten the final output right.<br>
</i></td>
</tr>
</tbody>
</table>
</blockquote>
<br>
<br>
Well you haven't phrased your question properly. Write it out fully and I'll give it a stab.<br>
</div>
</blockquote>
i don't know, sounds very clear to me...</p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/ae2793c2e93c4cd2beec9dec00a12038#ae2793c2e93c4cd2beec9dec00a12038</link>
		<pubDate>Tue, 21 Aug 2007 22:48:02 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/ae2793c2e93c4cd2beec9dec00a12038#ae2793c2e93c4cd2beec9dec00a12038</guid>
		<dc:creator>Ion Todirel</dc:creator>
		<slash:comments>80</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/Ion Todirel/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Interviewing programmers</title>
		<description><![CDATA[<p>I like questions that let the candidate and interviewer to run with them. It puts people at ease and it only gets as complicated as you want/need it to. So, in their basic form if the candidate can't even answer it to begin with then you do not have to
 go farther. But as they progress take them down a path and let the conversation kind of build on itself.<br>
<br>
You could white board or on paper (which I hate personally) offer several items and start simple and ask to see them related programmatically. Just a half-dozen objects should be good. Just make sure they are different. So maybe some would be properties like
 type or color and some are obviously extended from other base classes to anyone who has actually written code. Make sure it's something simple and could go different directions:<br>
<br>
1. Helicopter<br>
2. Bird<br>
3. Operator<br>
4. Dump Truck<br>
5. Seagull<br>
6. Green<br>
<br>
If they can't see a seagull and extending bird its over. Maybe they pose a question &quot;Is an operator a person? Can they drive and fly?&quot; Whatever. You should be looking intelligence and problem solving abilities. Posing the right questions and then constucting
 the answers in C#. <br>
<br>
You could draw out a scenario all the way to building a small app on a white board. What methods would these objects have? How would they work? When?
<br>
<br>
<br>
<br>
<br>
<br>
<br></p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/9a8ad321ad60404dbdcc9dec00a12065#9a8ad321ad60404dbdcc9dec00a12065</link>
		<pubDate>Tue, 21 Aug 2007 23:17:20 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/9a8ad321ad60404dbdcc9dec00a12065#9a8ad321ad60404dbdcc9dec00a12065</guid>
		<dc:creator>JohnnyAwesome</dc:creator>
		<slash:comments>80</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/JohnnyAwesome/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Interviewing programmers</title>
		<description><![CDATA[<p>I'm with Mr. Awesome here. I much prefer asking programmers questions around, &quot;How would you design or program something&quot; rather than really specific nit-pick topics.<br>
<br>
There's so much an engineer has to know that it's impossible (for me at least) to keep it all in my head. I'd want to see creativity, how they approach the problem. Who cares what&nbsp;the enums for some&nbsp;specific API are, that's what MSDN is for.<br>
<br>
Generally too I find that even just having a casual conversation about software and programming has been enough for me in the past to weed genuine candidates from BS'ers.</p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/7885968c1ac6472b93789dec00a1208f#7885968c1ac6472b93789dec00a1208f</link>
		<pubDate>Wed, 22 Aug 2007 00:25:12 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/7885968c1ac6472b93789dec00a1208f#7885968c1ac6472b93789dec00a1208f</guid>
		<dc:creator>Mark Brown</dc:creator>
		<slash:comments>80</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/Mark Brown/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Interviewing programmers</title>
		<description><![CDATA[<p><blockquote>
<div class="quoteAuthor">Massif wrote:</div>
<div class="quoteBody">why &quot;this &quot; &#43; someint.ToString() &#43; &quot; is stupid&quot; is a bad idea<br>
</div>
</blockquote>
<br>
<br>
Ooh, good. Are you asking because of the use of ToString() here or because you think there's an inefficinet concat happening--because it's really not. C# 2 will use
<font color="#000080">String.Concat(string,string,string)</font> here. It's probably not any worse than using String.Format.</p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/3d3f1a05eb8d47aaaacf9dec00a120b8#3d3f1a05eb8d47aaaacf9dec00a120b8</link>
		<pubDate>Wed, 22 Aug 2007 01:43:31 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/3d3f1a05eb8d47aaaacf9dec00a120b8#3d3f1a05eb8d47aaaacf9dec00a120b8</guid>
		<dc:creator>amotif</dc:creator>
		<slash:comments>80</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/amotif/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Interviewing programmers</title>
		<description><![CDATA[<p>Riffing on Dispose:<br>
<br>
a) Why would you implement IDispose?<br>
<br>
b) What's a finalizer?<br>
<br>
c) What should you clean up (or not) when Dispose is called?<br>
<br>
d) What should you clean up (or not) when&nbsp;the finalizer&nbsp;is called?<br>
<br>
e) What's the function that I always forget to call when I implement Dispose? (Interpret as &quot;What's the function you&nbsp;should call when you implement Dispose?&quot;)<br>
<br>
<br>
How many people do you suppose get c) and d) correct?<br></p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/c13c92f7a62f486b96259dec00a120e1#c13c92f7a62f486b96259dec00a120e1</link>
		<pubDate>Wed, 22 Aug 2007 01:47:23 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/c13c92f7a62f486b96259dec00a120e1#c13c92f7a62f486b96259dec00a120e1</guid>
		<dc:creator>amotif</dc:creator>
		<slash:comments>80</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/amotif/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Interviewing programmers</title>
		<description><![CDATA[<p><blockquote>
<div class="quoteAuthor">amotif wrote:</div>
<div class="quoteBody">&#65279;
<blockquote>
<table class="quoteTable">
<tbody>
<tr>
<td valign="top" width="10"><img src="/Themes/AlmostGlass/images/icon-quote.gif"></td>
<td class="txt3"><strong>Massif wrote:</strong>
<hr size="1">
<i>why &quot;this &quot; &#43; someint.ToString() &#43; &quot; is stupid&quot; is a bad idea<br>
</i></td>
</tr>
</tbody>
</table>
</blockquote>
<br>
<br>
Ooh, good. Are you asking because of the use of ToString() here or because you think there's an inefficinet concat happening--because it's really not. C# 2 will use
<font color="#000080">String.Concat(string,string,string)</font> here. It's probably not any worse than using String.Format.</div>
</blockquote>
<br>
<br>
Even so, String.Format(&quot;this {0} is stupid&quot;, someint); is preferable because it is shorter, easier to read and easier to localize.<br></p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/4e42e028f49c4b88b4259dec00a1210c#4e42e028f49c4b88b4259dec00a1210c</link>
		<pubDate>Wed, 22 Aug 2007 02:37:07 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/4e42e028f49c4b88b4259dec00a1210c#4e42e028f49c4b88b4259dec00a1210c</guid>
		<dc:creator>evildictaitor</dc:creator>
		<slash:comments>80</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/evildictaitor/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Interviewing programmers</title>
		<description><![CDATA[<p><blockquote>
<div class="quoteAuthor">Mark Brown wrote:</div>
<div class="quoteBody">&#65279;I'm with Mr. Awesome here. I much prefer asking programmers questions around, &quot;How would you design or program something&quot; rather than really specific nit-pick topics.<br>
<br>
There's so much an engineer has to know that it's impossible (for me at least) to keep it all in my head. I'd want to see creativity, how they approach the problem. Who cares what&nbsp;the enums for some&nbsp;specific API are, that's what MSDN is for.<br>
<br>
Generally too I find that even just having a casual conversation about software and programming has been enough for me in the past to weed genuine candidates from BS'ers.</div>
</blockquote>
<br>
<br>
I find that good programmers tend to do coding outside of the office, and are often really enthusiastic about these apps, which can be surprisingly relevant.<br>
<br>
If you ask a programmer what they think the best app they've ever created on their own was, and discuss that, and then ask later what the best app they've created as a group was, what their involvement was and what position/responsibilities they had in that
 environment were, and discuss what mistakes and lessons learned from these experiences were.<br></p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/376177aca0644706b1839dec00a12137#376177aca0644706b1839dec00a12137</link>
		<pubDate>Wed, 22 Aug 2007 02:39:49 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/376177aca0644706b1839dec00a12137#376177aca0644706b1839dec00a12137</guid>
		<dc:creator>evildictaitor</dc:creator>
		<slash:comments>80</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/evildictaitor/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Interviewing programmers</title>
		<description><![CDATA[<p><blockquote>
<div class="quoteAuthor">Mark Brown wrote:</div>
<div class="quoteBody">&#65279;I'm with Mr. Awesome here. I much prefer asking programmers questions around, &quot;How would you design or program something&quot; rather than really specific nit-pick topics.<br>
<br>
There's so much an engineer has to know that it's impossible (for me at least) to keep it all in my head. I'd want to see creativity, how they approach the problem. Who cares what&nbsp;the enums for some&nbsp;specific API are, that's what MSDN is for.<br>
<br>
Generally too I find that even just having a casual conversation about software and programming has been enough for me in the past to weed genuine candidates from BS'ers.</div>
</blockquote>
<br>
<br>
I too prefer this sort of direction when interviewing potential candidates.<br>
<br>
Tell you what, as sad as it seems, I went to bed thinking about this thread last night. I was just about to shut the PC down for the night and thought I'd catch up on the evenings Coffeehouse postings and read this one. Do people really go this nasty and technical
 in interviews? I think I'd sooner be interigated by Jack Bauer than attend some peoples interviews in this thread <img src='http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-7.gif' alt='Perplexed' /><br></p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/fa645fe960f44ddd84bf9dec00a12163#fa645fe960f44ddd84bf9dec00a12163</link>
		<pubDate>Wed, 22 Aug 2007 07:08:47 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/fa645fe960f44ddd84bf9dec00a12163#fa645fe960f44ddd84bf9dec00a12163</guid>
		<dc:creator>andy_hanger18</dc:creator>
		<slash:comments>80</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/andy_hanger18/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Interviewing programmers</title>
		<description><![CDATA[<p>Actually, I'll go through those common question regarding OOP concepts. And then limit my question to those related to the job function.<br>
<br>
Say that I'm hiring a Web Programmer knowing C#, it may not be so important to the interviewee whether he/she knows about IDispose/Finalization or not if our pages don't really touch them, however I'll want to make sure that know something about difference
 between Profile, Session and Viewstate, and of course, the events and their usage in Page Lifecycle.<br>
<br>
If you're hiring Winform programmer for Database related programs, you'll probably want to ask them if they know anything about how to get things done in commonly used 3rd party tools like Crystal Report, as well as the ability to write SQL statements, or even
 stored procedures.<br>
<br>
The ideas of best fit questions in interviews come from your currently working projects. Maybe pulling out helper functions that you think you'll able to finish in 5 minutes and ask them to implement in 15 minutes will be good enough.<br></p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/66fb7823b0174b3ba0e09dec00a1218d#66fb7823b0174b3ba0e09dec00a1218d</link>
		<pubDate>Wed, 22 Aug 2007 07:58:29 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/66fb7823b0174b3ba0e09dec00a1218d#66fb7823b0174b3ba0e09dec00a1218d</guid>
		<dc:creator>cheong</dc:creator>
		<slash:comments>80</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/cheong/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Interviewing programmers</title>
		<description><![CDATA[<p><blockquote>
<div class="quoteAuthor">andy_hanger18 wrote:</div>
<div class="quoteBody">&#65279;Do people really go this nasty and technical in interviews? I think I'd sooner be interigated by Jack Bauer than attend some peoples interviews in this thread
<img src="/emoticons/emotion-7.gif" border="0"><br>
</div>
</blockquote>
<br>
<br>
I don't remember all the details for all the .NET framework object, and I don't expect candidates to either. The reason I ask 'nasty' questions is not so much for the answer the candidate gives, but for how they react and handle a question that they don't know.<br>
If they just answer 'I don't know', or 'I'd have to Google that', then I take that as a positive.&nbsp; If they bluster and bullsh*t, then I take that as a negative.&nbsp; If they ask for the correct answer then that's a gold star.<br>
<br>
I prefer not to ask simple answer questions, but questions that could lead to a brief discussion so I can gauge the intellect of the candidate.<br>
<br>
We use sneaky non-technical questions too:<br>
<br>
Recently we've been interviewing for a graduate <em>tester</em> position.&nbsp; We ask 'Where do you see yourself in three to five years time?'<br>
If they say something like 'I don't plan that far ahead.' or 'I don't mind as long as I'm learning' then that's fine.&nbsp; If they say 'Running my own software firm' or (the classic) 'I plan to become&nbsp;a Developer' then that's a bad sign (we're going to train them
 as <em>testers</em>&nbsp;and they're just intending to use us as a leg up into a different career, thus wasting our efforts).<br>
<br>
It's a bit of a game/battle : we are trying to sell our company to the top candidates because we
<em>want</em> good employees while the candidates are trying to sell themselves to us because they want the job.&nbsp; The interview is where the interviewer and the candidates try and find the complete truth (Does the interviewer have any frustrations about the
 job? Does the candidate plan to stay for at least three years?&nbsp; How much overtime does the interviewer really do?&nbsp; Is the candidate really as smart as they appear in their CV?)<br>
<br>
As an interviewer I try to be open, friendly, and&nbsp;honest, but you can't badmouth company culture/coworkers/bosses/customers/whatever in front of a candidate as it's not professional. At the same time you want the candidate to have a clear picture of what the
 job is like because there's no point in hiring them only to have them leave after a month when they realise the job is not what was outlined in the interview. So the interview (for me) becomes a subtle game of psychology to try and get/give the truth. Nasty
 technical questions are a part of that.<br>
<br>
<br>
<br>
Herbie<br></p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/cb01777cb9e5450391149dec00a121be#cb01777cb9e5450391149dec00a121be</link>
		<pubDate>Wed, 22 Aug 2007 08:16:21 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/cb01777cb9e5450391149dec00a121be#cb01777cb9e5450391149dec00a121be</guid>
		<dc:creator>Herbie Smith</dc:creator>
		<slash:comments>80</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/Dr Herbie/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Interviewing programmers</title>
		<description><![CDATA[<p><blockquote>
<div class="quoteAuthor">evildictaitor wrote:</div>
<div class="quoteBody">&#65279;<br>
<blockquote>
<table class="quoteTable">
<tbody>
<tr>
<td valign="top" width="10"><img src="/Themes/AlmostGlass/images/icon-quote.gif"></td>
<td class="txt3"><strong>Maddus Mattus wrote:</strong>
<hr size="1">
<i><br>
&quot;What is a delegate?&quot;<br>
</i></td>
</tr>
</tbody>
</table>
</blockquote>
<br>
<br>
*<font color="#0000ff">void.<br>
<br>
</font></div>
</blockquote>
good answer, you're hired<br></p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/d7cf2e4308be4f9a93759dec00a121e8#d7cf2e4308be4f9a93759dec00a121e8</link>
		<pubDate>Wed, 22 Aug 2007 10:52:31 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/d7cf2e4308be4f9a93759dec00a121e8#d7cf2e4308be4f9a93759dec00a121e8</guid>
		<dc:creator>Ion Todirel</dc:creator>
		<slash:comments>80</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/Ion Todirel/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Interviewing programmers</title>
		<description><![CDATA[<p><blockquote>
<div class="quoteAuthor">evildictaitor wrote:</div>
<div class="quoteBody">&#65279;Even so, String.Format(&quot;this {0} is stupid&quot;, someint); is preferable because it is shorter, easier to read and easier to localize.</div>
</blockquote>
<br>
<br>
But Format strings are slower than simple concats because it has to parse the format string first. I wouldn't use this in a high-perf app.<br></p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/4bef434cbf894d3ba3609dec00a12210#4bef434cbf894d3ba3609dec00a12210</link>
		<pubDate>Wed, 22 Aug 2007 11:09:33 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/4bef434cbf894d3ba3609dec00a12210#4bef434cbf894d3ba3609dec00a12210</guid>
		<dc:creator>W3bbo</dc:creator>
		<slash:comments>80</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/W3bbo/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Interviewing programmers</title>
		<description><![CDATA[<p><blockquote>
<div class="quoteAuthor">W3bbo wrote:</div>
<div class="quoteBody">&#65279;
<blockquote>
<table class="quoteTable">
<tbody>
<tr>
<td valign="top" width="10"><img src="/Themes/AlmostGlass/images/icon-quote.gif"></td>
<td class="txt3"><strong>evildictaitor wrote:</strong>
<hr size="1">
<i>&#65279;Even so, String.Format(&quot;this {0} is stupid&quot;, someint); is preferable because it is shorter, easier to read and easier to localize.</i></td>
</tr>
</tbody>
</table>
</blockquote>
<br>
<br>
But Format strings are slower than simple concats because it has to parse the format string first. I wouldn't use this in a high-perf app.<br>
</div>
</blockquote>
<br>
<br>
I wouldn't use <em><strong>.NET</strong></em> in a high-perf system ...<br>
<br>
<br>
Herbie<br></p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/420184fa61ee4b86b5339dec00a1223b#420184fa61ee4b86b5339dec00a1223b</link>
		<pubDate>Wed, 22 Aug 2007 11:24:14 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/420184fa61ee4b86b5339dec00a1223b#420184fa61ee4b86b5339dec00a1223b</guid>
		<dc:creator>Herbie Smith</dc:creator>
		<slash:comments>80</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/Dr Herbie/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Interviewing programmers</title>
		<description><![CDATA[<p><blockquote>
<div class="quoteAuthor">evildictaitor wrote:</div>
<div class="quoteBody">&#65279;<br>
Even so, String.Format(&quot;this {0} is stupid&quot;, someint); is preferable because it is shorter, easier to read and easier to localize.<br>
</div>
</blockquote>
<br>
<br>
I don't know. I find &quot;this followed by this followed by this&quot; easier to read than &quot;this, now remember these values, and read the first string again and replace the accolades bits with them.&quot;
<br>
<br>
The fact that it's shorter shouldn't matter. Maximum readability wins from minimum use of characters.<br>
<br>
Localization, you have a point.</p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/dbcb5f1a413641ce88829dec00a12265#dbcb5f1a413641ce88829dec00a12265</link>
		<pubDate>Wed, 22 Aug 2007 11:24:33 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/dbcb5f1a413641ce88829dec00a12265#dbcb5f1a413641ce88829dec00a12265</guid>
		<dc:creator>Bas</dc:creator>
		<slash:comments>80</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/Bas/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Interviewing programmers</title>
		<description><![CDATA[<p>Anyone has an opinion on multi-on-one vs. one-on-one interviews? Personally, I think being interviewed by&nbsp; many people is fun, but I hear it could be stressful, too.<br></p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/f67b7730cfcd4ef1a3059dec00a1228d#f67b7730cfcd4ef1a3059dec00a1228d</link>
		<pubDate>Wed, 22 Aug 2007 12:53:20 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/f67b7730cfcd4ef1a3059dec00a1228d#f67b7730cfcd4ef1a3059dec00a1228d</guid>
		<dc:creator>Minh</dc:creator>
		<slash:comments>80</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/Minh/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Interviewing programmers</title>
		<description><![CDATA[<p><blockquote>
<div class="quoteAuthor">Ion Todirel wrote:</div>
<div class="quoteBody">&#65279;
<blockquote>
<table class="quoteTable">
<tbody>
<tr>
<td valign="top" width="10"><img src="/Themes/AlmostGlass/images/icon-quote.gif"></td>
<td class="txt3"><strong>evildictaitor wrote:</strong>
<hr size="1">
<i>&#65279;<br>
<br>
*<font color="#0000ff">void.<br>
<br>
</font></i></td>
</tr>
</tbody>
</table>
</blockquote>
good answer, you're hired<br>
</div>
</blockquote>
<br>
<br>
Not really, delegates are more than just function pointers. They offer type safety and security as they always point to a method, which a *void may well not do.</p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/143061369e5e483f87f79dec00a122b7#143061369e5e483f87f79dec00a122b7</link>
		<pubDate>Wed, 22 Aug 2007 13:01:39 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/143061369e5e483f87f79dec00a122b7#143061369e5e483f87f79dec00a122b7</guid>
		<dc:creator>AndyC</dc:creator>
		<slash:comments>80</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/AndyC/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Interviewing programmers</title>
		<description><![CDATA[<p><blockquote>
<div class="quoteAuthor">Minh wrote:</div>
<div class="quoteBody">&#65279;Anyone has an opinion on multi-on-one vs. one-on-one interviews? Personally, I think being interviewed by&nbsp; many people is fun, but I hear it could be stressful, too.<br>
</div>
</blockquote>
<br>
<br>
Be especially mindful not to arrange everything to be intimidating. Unless you're interviewing for a position where coping with initimidating situations is important. (Avoid the classic, interviewers on one side of a long desk, and interviewee isolated on their
 own little chair in front of them.)<br>
<br>
As someone who doesn't like interviews at all, more than a couple of people could be terrifying.<br>
<br>
Then again, fitting in with the team is critical in most situations, perhaps &quot;interview&quot; by testing people out in a mock-working environment. (Perhaps something like a brainstorming session with the team, see how they fit in.)</p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/e928051fe7b54ce582519dec00a122e1#e928051fe7b54ce582519dec00a122e1</link>
		<pubDate>Wed, 22 Aug 2007 13:12:11 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/e928051fe7b54ce582519dec00a122e1#e928051fe7b54ce582519dec00a122e1</guid>
		<dc:creator>Massif</dc:creator>
		<slash:comments>80</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/Massif/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Interviewing programmers</title>
		<description><![CDATA[<p><blockquote>
<div class="quoteAuthor">Massif wrote:</div>
<div class="quoteBody">&#65279;
<blockquote>
<table class="quoteTable">
<tbody>
<tr>
<td valign="top" width="10"><img src="/Themes/AlmostGlass/images/icon-quote.gif"></td>
<td class="txt3"><strong>Dr Herbie wrote:</strong>
<hr size="1">
<i>&#65279;<br>
<br>
I wouldn't use <em><strong>.NET</strong></em> in a high-perf system ...<br>
<br>
Herbie<br>
</i></td>
</tr>
</tbody>
</table>
</blockquote>
<br>
<br>
You wouldn't?<br>
<br>
I know there's high-performance and there's <a href="http://en.wikipedia.org/wiki/High-performance_computing">
high-performance</a> but .NET performs pretty well under most conditions, and I'd opt for managed code in really all situations over unmanaged.</div>
</blockquote>
<br>
<br>
Besides, <a href="/showpost.aspx?postid=261254">this guy</a> is running a .NET application that's performing pretty nicely.</p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/6aeb24fb0b35487283329dec00a12336#6aeb24fb0b35487283329dec00a12336</link>
		<pubDate>Wed, 22 Aug 2007 13:42:57 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/6aeb24fb0b35487283329dec00a12336#6aeb24fb0b35487283329dec00a12336</guid>
		<dc:creator>Bas</dc:creator>
		<slash:comments>80</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/Bas/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Interviewing programmers</title>
		<description><![CDATA[<p><blockquote>
<div class="quoteAuthor">Dr Herbie wrote:</div>
<div class="quoteBody">&#65279;<br>
<br>
I wouldn't use <em><strong>.NET</strong></em> in a high-perf system ...<br>
<br>
Herbie<br>
</div>
</blockquote>
<br>
<br>
You wouldn't?<br>
<br>
I know there's high-performance and there's <a href="http://en.wikipedia.org/wiki/High-performance_computing">
high-performance</a> but .NET performs pretty well under most conditions, and I'd opt for managed code in nearly all situations over unmanaged.<br>
<br>
Reason being, unmanaged code has the ability to be made fast, but it's hard to make it so (when we're talking really fast.) Whereas .NET is easy to make fast. (But the top speed is slightly lower.)<br>
<br>
If you're opting for unmanaged you'd have to justify it to me (and if you're not profiling your code for performance you'll get shot.) Many people seem to think C&#43;&#43; is an optimisation step in and of itself over .NET, but the truth is that it's quite easy to
 make a horrendously slow C&#43;&#43; app if you're not careful.<br>
<br>
However, I'm just a lackey, and not in a position to be making these decisions.</p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/f40978a36a9940a8b7f49dec00a1230c#f40978a36a9940a8b7f49dec00a1230c</link>
		<pubDate>Wed, 22 Aug 2007 13:43:46 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/f40978a36a9940a8b7f49dec00a1230c#f40978a36a9940a8b7f49dec00a1230c</guid>
		<dc:creator>Massif</dc:creator>
		<slash:comments>80</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/Massif/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Interviewing programmers</title>
		<description><![CDATA[<p><blockquote>
<div class="quoteAuthor">Bas wrote:</div>
<div class="quoteBody">&#65279;
<blockquote>
<table class="quoteTable">
<tbody>
<tr>
<td valign="top" width="10"><img src="/Themes/AlmostGlass/images/icon-quote.gif"></td>
<td class="txt3"><strong>Massif wrote:</strong>
<hr size="1">
<i>&#65279;
<blockquote>
<table class="quoteTable">
<tbody>
<tr>
<td valign="top" width="10"><img src="/Themes/AlmostGlass/images/icon-quote.gif"></td>
<td class="txt3"><strong>Dr Herbie wrote:</strong>
<hr size="1">
<i>&#65279;<br>
<br>
I wouldn't use <em><strong>.NET</strong></em> in a high-perf system ...<br>
<br>
Herbie<br>
</i></td>
</tr>
</tbody>
</table>
</blockquote>
<br>
<br>
You wouldn't?<br>
<br>
I know there's high-performance and there's <a href="http://en.wikipedia.org/wiki/High-performance_computing">
high-performance</a> but .NET performs pretty well under most conditions, and I'd opt for managed code in really all situations over unmanaged.</i></td>
</tr>
</tbody>
</table>
</blockquote>
<br>
<br>
Besides, <a href="/showpost.aspx?postid=261254">this guy</a> is running a .NET application that's performing pretty nicely.</div>
</blockquote>
<br>
<br>
<br>
To me high performance is <strong><em>high</em></strong> <strong><em>performance</em></strong>: counting the&nbsp;cycles,&nbsp;unrolling loops, using your own memory management for speed, using assembly where it really matters, you know, all the optimization tricks turned
 up to 11. <br>
<br>
I should point out I don't do the high performance stuff. I'm not smart enough to do it, only smart enough to understand how it can get done.<br>
<br>
<br>
Herbie<br></p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/73f00738b9924080b8bf9dec00a12366#73f00738b9924080b8bf9dec00a12366</link>
		<pubDate>Wed, 22 Aug 2007 14:01:53 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/73f00738b9924080b8bf9dec00a12366#73f00738b9924080b8bf9dec00a12366</guid>
		<dc:creator>Herbie Smith</dc:creator>
		<slash:comments>80</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/Dr Herbie/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Interviewing programmers</title>
		<description><![CDATA[<p><blockquote>
<div class="quoteAuthor">evildictaitor wrote:</div>
<div class="quoteBody">&#65279;
<blockquote>
<table class="quoteTable">
<tbody>
<tr>
<td valign="top" width="10"><img src="/Themes/AlmostGlass/images/icon-quote.gif"></td>
<td class="txt3"><strong>amotif wrote:</strong>
<hr size="1">
<i>&#65279;
<blockquote>
<table class="quoteTable">
<tbody>
<tr>
<td valign="top" width="10"><img src="/Themes/AlmostGlass/images/icon-quote.gif"></td>
<td class="txt3"><strong>Massif wrote:</strong>
<hr size="1">
<i>why &quot;this &quot; &#43; someint.ToString() &#43; &quot; is stupid&quot; is a bad idea<br>
</i></td>
</tr>
</tbody>
</table>
</blockquote>
<br>
<br>
Ooh, good. Are you asking because of the use of ToString() here or because you think there's an inefficinet concat happening--because it's really not. C# 2 will use
<font color="#000080">String.Concat(string,string,string)</font> here. It's probably not any worse than using String.Format.</i></td>
</tr>
</tbody>
</table>
</blockquote>
<br>
<br>
Even so, String.Format(&quot;this {0} is stupid&quot;, someint); is preferable because it is shorter, easier to read and easier to localize.<br>
</div>
</blockquote>
<br>
<br>
&quot;Easier to read&quot; is rather subjective, but I would suggest that<br>
<font face="Courier New" color="#000080"><br>
&nbsp; &quot;this &quot; &#43; someint &#43; &quot; is stupid&quot;<br>
<br>
</font>is certainly shorter and easier to read than<br>
<br>
&nbsp;&nbsp;&nbsp; <font face="Courier New" color="#000080">String.Format(&quot;this {0} is stupid&quot;, someint)<br>
</font><br>
Localization is a weenie argument <img src='http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-1.gif' alt='Smiley' />&nbsp;but a valid point if you're hiring someone to write localizable UI code. I've written written localizable UI but haven't met many other people who have. It's certainly a different level of understanding than knowing what
 the compiler might do with string &#43; string &#43; string.</p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/735f363ac8744e47b8229dec00a12395#735f363ac8744e47b8229dec00a12395</link>
		<pubDate>Wed, 22 Aug 2007 14:37:41 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/735f363ac8744e47b8229dec00a12395#735f363ac8744e47b8229dec00a12395</guid>
		<dc:creator>amotif</dc:creator>
		<slash:comments>80</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/amotif/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Interviewing programmers</title>
		<description><![CDATA[<p><blockquote>
<div class="quoteAuthor">AndyC wrote:</div>
<div class="quoteBody">&#65279;
<blockquote>
<table class="quoteTable">
<tbody>
<tr>
<td valign="top" width="10"><img src="/Themes/AlmostGlass/images/icon-quote.gif"></td>
<td class="txt3"><strong>Ion Todirel wrote:</strong>
<hr size="1">
<i>&#65279;
<blockquote>
<table class="quoteTable">
<tbody>
<tr>
<td valign="top" width="10"><img src="/Themes/AlmostGlass/images/icon-quote.gif"></td>
<td class="txt3"><strong>evildictaitor wrote:</strong>
<hr size="1">
<i>&#65279;<br>
<br>
*<font color="#0000ff">void.<br>
<br>
</font></i></td>
</tr>
</tbody>
</table>
</blockquote>
good answer, you're hired<br>
</i></td>
</tr>
</tbody>
</table>
</blockquote>
<br>
<br>
Not really, delegates are more than just function pointers. They offer type safety and security as they always point to a method, which a *void may well not do.</div>
</blockquote>
<br>
<br>
The type-safety is only at compile time (for non .NET languages), so actually what a delegate
<i><b>is </b></i>is a *void.<br>
<br>
Even in .NET it's just a typedef wrapper on a System.IntPtr.<br></p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/de75fb92d4db4d13ae179dec00a123c1#de75fb92d4db4d13ae179dec00a123c1</link>
		<pubDate>Wed, 22 Aug 2007 14:39:57 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/de75fb92d4db4d13ae179dec00a123c1#de75fb92d4db4d13ae179dec00a123c1</guid>
		<dc:creator>evildictaitor</dc:creator>
		<slash:comments>80</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/evildictaitor/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Interviewing programmers</title>
		<description><![CDATA[<p><blockquote>
<div class="quoteAuthor">W3bbo wrote:</div>
<div class="quoteBody">&#65279;
<blockquote>
<table class="quoteTable">
<tbody>
<tr>
<td valign="top" width="10"><img src="/Themes/AlmostGlass/images/icon-quote.gif"></td>
<td class="txt3"><strong>evildictaitor wrote:</strong>
<hr size="1">
<i>&#65279;Even so, String.Format(&quot;this {0} is stupid&quot;, someint); is preferable because it is shorter, easier to read and easier to localize.</i></td>
</tr>
</tbody>
</table>
</blockquote>
<br>
<br>
But Format strings are slower than simple concats because it has to parse the format string first. I wouldn't use this in a high-perf app.<br>
</div>
</blockquote>
<br>
<br>
One has to ask why you are doing string formatting operations in a critical loop. Not that they arn't great and all, but when you get to high speed optimisations, you switch away from a string and go to a char[] because then it becomes mutable.<br></p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/4bd71444e6834b47817e9dec00a123eb#4bd71444e6834b47817e9dec00a123eb</link>
		<pubDate>Wed, 22 Aug 2007 14:41:24 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/4bd71444e6834b47817e9dec00a123eb#4bd71444e6834b47817e9dec00a123eb</guid>
		<dc:creator>evildictaitor</dc:creator>
		<slash:comments>80</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/evildictaitor/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Interviewing programmers</title>
		<description><![CDATA[<p><blockquote>
<div class="quoteAuthor">andy_hanger18 wrote:</div>
<div class="quoteBody">Do people really go this nasty and technical in interviews?</div>
</blockquote>
<br>
<br>
By &quot;nasty&quot; do you mean deep probing highly technical questions?<br>
<br>
Then, yes, but largely it depends on whether the position is suited for a new grad's knowledge&nbsp;or a seasoned pro's experience.<br></p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/e01f8d2d82ac48f2b68b9dec00a12414#e01f8d2d82ac48f2b68b9dec00a12414</link>
		<pubDate>Wed, 22 Aug 2007 14:41:51 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/e01f8d2d82ac48f2b68b9dec00a12414#e01f8d2d82ac48f2b68b9dec00a12414</guid>
		<dc:creator>amotif</dc:creator>
		<slash:comments>80</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/amotif/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Interviewing programmers</title>
		<description><![CDATA[<p><blockquote>
<div class="quoteAuthor">amotif wrote:</div>
<div class="quoteBody">&#65279;
<blockquote>
<table class="quoteTable">
<tbody>
<tr>
<td valign="top" width="10"><img src="/Themes/AlmostGlass/images/icon-quote.gif"></td>
<td class="txt3"><strong>andy_hanger18 wrote:</strong>
<hr size="1">
<i>Do people really go this nasty and technical in interviews?</i></td>
</tr>
</tbody>
</table>
</blockquote>
<br>
<br>
By &quot;nasty&quot; do you mean deep probing highly technical questions?<br>
<br>
Then, yes, but largely it depends on whether the position is suited for a new grad's knowledge&nbsp;or a seasoned pro's experience.<br>
</div>
</blockquote>
<br>
<br>
I interviewed 9 people in the last two weeks. One didn't even know what boxing was despite his claim of 5 years .net. Frankly if you're going to lie then my questions may well be considered nasty.<br>
<br>
Two of the candidates fed back that the interview was challenging and one of those said he found it fun. They got offers.<br></p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/9b12630ee73740c2b9c09dec00a1243f#9b12630ee73740c2b9c09dec00a1243f</link>
		<pubDate>Wed, 22 Aug 2007 14:51:15 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/9b12630ee73740c2b9c09dec00a1243f#9b12630ee73740c2b9c09dec00a1243f</guid>
		<dc:creator>blowdart</dc:creator>
		<slash:comments>80</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/blowdart/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Interviewing programmers</title>
		<description><![CDATA[<p><div align="left">One of the best interviews I had was for a financial company who wanted a ASP.Net developer.<br>
<br>
I had two senior guys grilling me for over an hour. They were asking me some pretty hard questions and asking me to come up with soluti9ons for business problems for which I was at the most part answering quite well.<br>
<br>
I came out feeling like i'd been taken down a peg and it helped me to realise where my knowledge gaps were.<br>
<br>
I didn't get the role, they said I knew my stuff but they were looking for someone with maybe 1 or 2 more years experience at a senior level <img src='http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-6.gif' alt='Sad' /><br>
<br>
Anyway is was a great learning experience and still the most challenging interview I've ever had.<br>
</div></p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/469c95d2d64341be8bba9dec00a12469#469c95d2d64341be8bba9dec00a12469</link>
		<pubDate>Wed, 22 Aug 2007 14:58:22 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/469c95d2d64341be8bba9dec00a12469#469c95d2d64341be8bba9dec00a12469</guid>
		<dc:creator>Lee Dale</dc:creator>
		<slash:comments>80</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/leeappdalecom/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Interviewing programmers</title>
		<description><![CDATA[<p>In my past experience I have found that a short programming problem that I gave to candidates before they came in was the best thing I could do.<br>
<br>
Some people just don't interview well, they forget what polymorphism is but they use it and know when to use it. Or they forget what ABC means, or they don't know what methodology they use in strict naming terms.<br>
<br>
Lots of good developers don't bother to memorize definitions (at least ones I have worked with) and alot of crapy ones do.<br>
<br>
I have never hired a person that could not do the job I wanted after I started giving out the small project. I have had people refuse to do it (It took me 2 hours to do it from scratch, so I figure it should not take more than 6 hours worst possible case),
 sure that may seem like a lot, but I don't want someone that does not like to code at home (not necessarily work but for fun at least a little).<br>
<br>
The basic outline is to read and XML file with some set of data. Create 2 classes that have an obvious hierarchy. Write and use a simple web service to do calculations. Write a simple UI to query a small set of data in a very limited and controlled way.<br>
<br>
I don't even care how you do it, if you do it with no inheritance etc. but you better be able to tell my why not. Then the whole interview is mostly about the application, and that spawns more questions and usually a good dialog.<br></p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/f4493a67b466439dbb959dec00a12495#f4493a67b466439dbb959dec00a12495</link>
		<pubDate>Wed, 22 Aug 2007 17:12:32 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/f4493a67b466439dbb959dec00a12495#f4493a67b466439dbb959dec00a12495</guid>
		<dc:creator>lorad</dc:creator>
		<slash:comments>80</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/lorad/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Interviewing programmers</title>
		<description><![CDATA[<p><blockquote>
<div class="quoteAuthor">amotif wrote:</div>
<div class="quoteBody">&#65279;
<blockquote>
<table class="quoteTable">
<tbody>
<tr>
<td valign="top" width="10"><img src="/Themes/AlmostGlass/images/icon-quote.gif"></td>
<td class="txt3"><strong>andy_hanger18 wrote:</strong>
<hr size="1">
<i>Do people really go this nasty and technical in interviews?</i></td>
</tr>
</tbody>
</table>
</blockquote>
<br>
<br>
By &quot;nasty&quot; do you mean deep probing highly technical questions?<br>
<br>
Then, yes, but largely it depends on whether the position is suited for a new grad's knowledge&nbsp;or a seasoned pro's experience.<br>
</div>
</blockquote>
No, he meant obscure question like:<br>
<br>
&nbsp;&nbsp; - Why does this statement not give me the right time? DateTime.Now.ToString(&quot;hh:MM:ss&quot;)<br>
<br>
that's design more to show the interviewer's smugness than test the interviewee's ability to work <img src='http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-1.gif' alt='Smiley' /><br></p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/b26d89228d804a3187c89dec00a124bf#b26d89228d804a3187c89dec00a124bf</link>
		<pubDate>Wed, 22 Aug 2007 17:13:09 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/b26d89228d804a3187c89dec00a124bf#b26d89228d804a3187c89dec00a124bf</guid>
		<dc:creator>Minh</dc:creator>
		<slash:comments>80</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/Minh/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Interviewing programmers</title>
		<description><![CDATA[<p><blockquote>
<div class="quoteAuthor">Minh wrote:</div>
<div class="quoteBody">&#65279;No, he meant obscure question like:<br>
<br>
&nbsp;&nbsp; - Why does this statement not give me the right time? DateTime.Now.ToString(&quot;hh:MM:ss&quot;)<br>
<br>
that's design more to show the interviewer's smugness than test the interviewee's ability to work <img src='http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-1.gif' alt='Smiley' /><br>
</div>
</blockquote>
<br>
<br>
Hmm, no clue. But I do notice that the minutes, which are incorrect, happen to be the current month... 10:08:21&nbsp; <img src='http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-1.gif' alt='Smiley' /><br>
<br>
What really drives me nuts is interviewers who try to show how smart they. Far worse than interviewers who ramble on about the cool stuff they work on when it has nothing to do with what I would be working on.<br></p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/d2e43ffa36b64dc3af909dec00a124ea#d2e43ffa36b64dc3af909dec00a124ea</link>
		<pubDate>Wed, 22 Aug 2007 17:53:56 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/d2e43ffa36b64dc3af909dec00a124ea#d2e43ffa36b64dc3af909dec00a124ea</guid>
		<dc:creator>amotif</dc:creator>
		<slash:comments>80</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/amotif/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Interviewing programmers</title>
		<description><![CDATA[<p><blockquote>
<div class="quoteAuthor">amotif wrote:</div>
<div class="quoteBody">&#65279;<br>
Hmm, no clue. But I do notice that the minutes, which are incorrect, happen to be the current month... 10:08:21&nbsp; <img src='http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-1.gif' alt='Smiley' /><br>
</div>
</blockquote>
<br>
That's correct! It's because there's a freakin' googlie-eyed face in the freakin' format string!<br>
<br>
DateTime.Now.ToString(&quot;hh:MM:ss&quot;)<br>
<br>
<blockquote>
<div class="quoteAuthor">amotif wrote:</div>
<div class="quoteBody">&#65279;<br>
What really drives me nuts is interviewers who try to show how smart they. Far worse than interviewers who ramble on about the cool stuff they work on when it has nothing to do with what I would be working on.<br>
</div>
</blockquote>
<br>
Yep! Interviewing people is a head trip. I don't know how Blowdart does it! <img src='http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-1.gif' alt='Smiley' /><br></p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/3571a864fac5454f88349dec00a12515#3571a864fac5454f88349dec00a12515</link>
		<pubDate>Wed, 22 Aug 2007 18:00:11 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/3571a864fac5454f88349dec00a12515#3571a864fac5454f88349dec00a12515</guid>
		<dc:creator>Minh</dc:creator>
		<slash:comments>80</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/Minh/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Interviewing programmers</title>
		<description><![CDATA[<p><blockquote>
<div class="quoteAuthor">Dr Herbie wrote:</div>
<div class="quoteBody">&#65279;OK, firstly polymorphism has nothing to do with code-reuse.&nbsp; That's where you're confusing class inheritance with polymorphism (although you're right, polymorphism does depend on inheritance).<br>
</div>
</blockquote>
<br>
<br>
No, that's wrong. Value based dispatch depends on inheritance, polymorphism does not. Polymorphism does have something to do with code reuse preciesly because you can write a function that works on values of multiple types.<br>
<br>
Here's a polymorhic method that doesn't depend on inheritance in the least:<br>
<br>
<br>
<font face="Courier New">static T pickFirst&lt;T&gt;(T a, T b)<br>
{<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return a;<br>
}<br>
<br>
<font face="Times New Roman"><font face="Verdana">Normally this isn't very useful, you'd have to constrain the template parameter somehow (and obviously you'd do that using interfaces, and you might almost be able to claim that interfaces depend on inheritance,
 but that would also be wrong - consider something like Haskell that has no inheritance but manages to have a type hierarchy and polymorphism anyway; by simply using type-based dispatch rather than value-based dispatch). Consider something like</font><br>
<br>
<font color="#000000" face="Courier New">static uint length&lt;T&gt;( MyList&lt;T&gt; list )<br>
{<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return list.IsEmpty ? 0 : 1 &#43; length( list.tail);<br>
}</font><br>
<br>
<font face="Verdana">This is a much more useful function that does not depend on inheritance either, and would still be exceedingly polymorphic in that it can work on lists of any element type (in this case an immutable singly linked list).<br>
<br>
So yeah, inheritance is one way of doing subtyping, but not the only way of doing polymorphism.</font><br>
</font></font></p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/8b83a147a8764a43bcbb9dec00a1255e#8b83a147a8764a43bcbb9dec00a1255e</link>
		<pubDate>Wed, 22 Aug 2007 18:05:48 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/8b83a147a8764a43bcbb9dec00a1255e#8b83a147a8764a43bcbb9dec00a1255e</guid>
		<dc:creator>sylvan</dc:creator>
		<slash:comments>80</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/sylvan/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Interviewing programmers</title>
		<description><![CDATA[<p><blockquote>
<div class="quoteAuthor">evildictaitor wrote:</div>
<div class="quoteBody">&#65279;
<blockquote>
<table class="quoteTable">
<tbody>
<tr>
<td valign="top" width="10"><img src="/Themes/AlmostGlass/images/icon-quote.gif"></td>
<td class="txt3"><strong>AndyC wrote:</strong>
<hr size="1">
<i>&#65279;
<blockquote>
<table class="quoteTable">
<tbody>
<tr>
<td valign="top" width="10"><img src="/Themes/AlmostGlass/images/icon-quote.gif"></td>
<td class="txt3"><strong>Ion Todirel wrote:</strong>
<hr size="1">
<i>&#65279;
<blockquote>
<table class="quoteTable">
<tbody>
<tr>
<td valign="top" width="10"><img src="/Themes/AlmostGlass/images/icon-quote.gif"></td>
<td class="txt3"><strong>evildictaitor wrote:</strong>
<hr size="1">
<i>&#65279;<br>
<br>
*<font color="#0000ff">void.<br>
<br>
</font></i></td>
</tr>
</tbody>
</table>
</blockquote>
good answer, you're hired<br>
</i></td>
</tr>
</tbody>
</table>
</blockquote>
<br>
<br>
Not really, delegates are more than just function pointers. They offer type safety and security as they always point to a method, which a *void may well not do.</i></td>
</tr>
</tbody>
</table>
</blockquote>
<br>
<br>
The type-safety is only at compile time (for non .NET languages), so actually what a delegate
<i><b>is </b></i>is a *void.<br>
<br>
Even in .NET it's just a typedef wrapper on a System.IntPtr.<br>
</div>
</blockquote>
<br>
<br>
NO! A delegate is a tiny object that captures any variables in scope at the definition (that are also used in the definition). It's NOT anywhere close to a function pointer, it's more like a quick one-off class with a single method.<br></p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/c7610719b6a84d4289019dec00a125b6#c7610719b6a84d4289019dec00a125b6</link>
		<pubDate>Wed, 22 Aug 2007 18:18:07 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/c7610719b6a84d4289019dec00a125b6#c7610719b6a84d4289019dec00a125b6</guid>
		<dc:creator>sylvan</dc:creator>
		<slash:comments>80</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/sylvan/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Interviewing programmers</title>
		<description><![CDATA[<p><blockquote>
<div class="quoteAuthor">AndyC wrote:</div>
<div class="quoteBody">&#65279;
<blockquote>
<table class="quoteTable">
<tbody>
<tr>
<td valign="top" width="10"><img src="/Themes/AlmostGlass/images/icon-quote.gif"></td>
<td class="txt3"><strong>Ion Todirel wrote:</strong>
<hr size="1">
<i>&#65279;
<blockquote>
<table class="quoteTable">
<tbody>
<tr>
<td valign="top" width="10"><img src="/Themes/AlmostGlass/images/icon-quote.gif"></td>
<td class="txt3"><strong>evildictaitor wrote:</strong>
<hr size="1">
<i>&#65279;<br>
<br>
*<font color="#0000ff">void.<br>
<br>
</font></i></td>
</tr>
</tbody>
</table>
</blockquote>
good answer, you're hired<br>
</i></td>
</tr>
</tbody>
</table>
</blockquote>
<br>
<br>
Not really, delegates are more than just function pointers. They offer type safety and security as they always point to a method, which a *void may well not do.</div>
</blockquote>
<br>
<br>
And above all, they capture variables (proper lexical closures, in other words)! Comparing with function pointer is useful if and only if the next sentence out of your mouth is &quot;but they're really completely different&quot;.<br></p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/ed3b76fc0f964f149c419dec00a12589#ed3b76fc0f964f149c419dec00a12589</link>
		<pubDate>Wed, 22 Aug 2007 18:22:20 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/ed3b76fc0f964f149c419dec00a12589#ed3b76fc0f964f149c419dec00a12589</guid>
		<dc:creator>sylvan</dc:creator>
		<slash:comments>80</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/sylvan/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Interviewing programmers</title>
		<description><![CDATA[<p><blockquote>
<div class="quoteAuthor">Minh wrote:</div>
<div class="quoteBody">&#65279;Yep! Interviewing people is a head trip. I don't know how Blowdart does it!
<img src="/emoticons/emotion-1.gif" border="0"><br>
</div>
</blockquote>
<br>
<br>
<img src='http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-1.gif' alt='Smiley' /><br>
<br>
I forked a new thread on interviewers: <a href="/ShowPost.aspx?PostID=336235">Bad Interviewer, No Cookie</a><br>
<br>
Be gentle. <img src='http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-11.gif' alt='Cool' /></p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/9e0b1fdecae141128e269dec00a125df#9e0b1fdecae141128e269dec00a125df</link>
		<pubDate>Wed, 22 Aug 2007 18:24:36 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/9e0b1fdecae141128e269dec00a125df#9e0b1fdecae141128e269dec00a125df</guid>
		<dc:creator>amotif</dc:creator>
		<slash:comments>80</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/amotif/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Interviewing programmers</title>
		<description><![CDATA[<p><blockquote>
<div class="quoteAuthor">Minh wrote:</div>
<div class="quoteBody">&#65279;<br>
Yep! Interviewing people is a head trip. I don't know how Blowdart does it! <img src="/emoticons/emotion-1.gif" border="0"><br>
</div>
</blockquote>
<br>
<br>
Actually I usually hate it because people are generally lying gits about their experience. It's almost worth it to find someone decent, but the muppets just depress me.<br></p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/cea995c12d8941358d979dec00a12608#cea995c12d8941358d979dec00a12608</link>
		<pubDate>Wed, 22 Aug 2007 18:32:05 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/cea995c12d8941358d979dec00a12608#cea995c12d8941358d979dec00a12608</guid>
		<dc:creator>blowdart</dc:creator>
		<slash:comments>80</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/blowdart/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Interviewing programmers</title>
		<description><![CDATA[<p><blockquote>
<div class="quoteAuthor">Minh wrote:</div>
<div class="quoteBody">&#65279;
<blockquote>
<table class="quoteTable">
<tbody>
<tr>
<td valign="top" width="10"><img src="/Themes/AlmostGlass/images/icon-quote.gif"></td>
<td class="txt3"><strong>amotif wrote:</strong>
<hr size="1">
<i>&#65279;
<blockquote>
<table class="quoteTable">
<tbody>
<tr>
<td valign="top" width="10"><img src="/Themes/AlmostGlass/images/icon-quote.gif"></td>
<td class="txt3"><strong>andy_hanger18 wrote:</strong>
<hr size="1">
<i>Do people really go this nasty and technical in interviews?</i></td>
</tr>
</tbody>
</table>
</blockquote>
<br>
<br>
By &quot;nasty&quot; do you mean deep probing highly technical questions?<br>
<br>
Then, yes, but largely it depends on whether the position is suited for a new grad's knowledge&nbsp;or a seasoned pro's experience.<br>
</i></td>
</tr>
</tbody>
</table>
</blockquote>
No, he meant obscure question like:<br>
<br>
&nbsp;&nbsp; - Why does this statement not give me the right time? DateTime.Now.ToString(&quot;hh:MM<img src="/emoticons/emotion-7.gif" border="0">s&quot;)<br>
<br>
that's design more to show the interviewer's smugness than test the interviewee's ability to work
<img src="/emoticons/emotion-1.gif" border="0"><br>
</div>
</blockquote>
<br>
<br>
That saved me replying <img src='http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-1.gif' alt='Smiley' />&nbsp; Sorry, it is what I was trying to say. I just meant nasty in a loose term.<br></p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/315861668c6f447ea7669dec00a12634#315861668c6f447ea7669dec00a12634</link>
		<pubDate>Wed, 22 Aug 2007 18:32:33 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/315861668c6f447ea7669dec00a12634#315861668c6f447ea7669dec00a12634</guid>
		<dc:creator>andy_hanger18</dc:creator>
		<slash:comments>80</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/andy_hanger18/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Interviewing programmers</title>
		<description><![CDATA[<p>Regarding naming a class without ToString, what about the 'Math' class (or any purely static class)?&nbsp;
<br>
<br>
-mdb</p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/9ec110315e44489a90de9dec00a12678#9ec110315e44489a90de9dec00a12678</link>
		<pubDate>Wed, 22 Aug 2007 18:36:55 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/9ec110315e44489a90de9dec00a12678#9ec110315e44489a90de9dec00a12678</guid>
		<dc:creator>fuzzylintman</dc:creator>
		<slash:comments>80</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/fuzzylintman/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Interviewing programmers</title>
		<description><![CDATA[<p><blockquote>
<div class="quoteAuthor">sylvan wrote:</div>
<div class="quoteBody">&#65279;
<blockquote>
<table class="quoteTable">
<tbody>
<tr>
<td valign="top" width="10"><img src="/Themes/AlmostGlass/images/icon-quote.gif"></td>
<td class="txt3"><strong>Dr Herbie wrote:</strong>
<hr size="1">
<i>&#65279;OK, firstly polymorphism has nothing to do with code-reuse.&nbsp; That's where you're confusing class inheritance with polymorphism (although you're right, polymorphism does depend on inheritance).<br>
</i></td>
</tr>
</tbody>
</table>
</blockquote>
<br>
<br>
No, that's wrong. Value based dispatch depends on inheritance, polymorphism does not. Polymorphism does have something to do with code reuse preciesly because you can write a function that works on values of multiple types.<br>
<br>
Here's a polymorhic method that doesn't depend on inheritance in the least:<br>
<br>
<br>
<font face="Courier New">static T pickFirst&lt;T&gt;(T a, T b)<br>
{<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return a;<br>
}<br>
<br>
<font face="Times New Roman"><font face="Verdana">Normally this isn't very useful, you'd have to constrain the template parameter somehow (and obviously you'd do that using interfaces, and you might almost be able to claim that interfaces depend on inheritance,
 but that would also be wrong - consider something like Haskell that has no inheritance but manages to have a type hierarchy and polymorphism anyway; by simply using type-based dispatch rather than value-based dispatch). Consider something like</font><br>
<br>
<font face="Courier New" color="#000000">static uint length&lt;T&gt;( MyList&lt;T&gt; list )<br>
{<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return list.IsEmpty ? 0 : 1 &#43; length( list.tail);<br>
}</font><br>
<br>
<font face="Verdana">This is a much more useful function that does not depend on inheritance either, and would still be exceedingly polymorphic in that it can work on lists of any element type (in this case an immutable singly linked list).<br>
<br>
So yeah, inheritance is one way of doing subtyping, but not the only way of doing polymorphism.</font><br>
</font></font></div>
</blockquote>
<br>
<br>
OK, to qualify I should have said <a href="http://en.wikipedia.org/wiki/Polymorphism_(object-oriented_programming)">
OOP polymorphism</a>, not <a href="http://en.wikipedia.org/wiki/Polymorphism_(computer_science)">
type polymorphism</a>. And I still say OOP polymorphism is nothing to do with code reuse (because you can use interface or pure abstract classes as the polymorphic base and by definition these contain no logic).<br>
<br>
But as I stated, most (of the dozen or do) candidates that I've interviewed over the last couple of years for C# development positions couldn't explain either version of polymorphism.<br>
<br>
Herbie</p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/48ef432e862f493997cf9dec00a126a9#48ef432e862f493997cf9dec00a126a9</link>
		<pubDate>Wed, 22 Aug 2007 18:52:12 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/48ef432e862f493997cf9dec00a126a9#48ef432e862f493997cf9dec00a126a9</guid>
		<dc:creator>Herbie Smith</dc:creator>
		<slash:comments>80</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/Dr Herbie/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Interviewing programmers</title>
		<description><![CDATA[<p><blockquote>
<div class="quoteAuthor">sylvan wrote:</div>
<div class="quoteBody">&#65279;
<blockquote>
<table class="quoteTable">
<tbody>
<tr>
<td valign="top" width="10"><img src="/Themes/AlmostGlass/images/icon-quote.gif"></td>
<td class="txt3"><strong>evildictaitor wrote:</strong>
<hr size="1">
<i>&#65279;
<blockquote>
<table class="quoteTable">
<tbody>
<tr>
<td valign="top" width="10"><img src="/Themes/AlmostGlass/images/icon-quote.gif"></td>
<td class="txt3"><strong>AndyC wrote:</strong>
<hr size="1">
<i>&#65279;
<blockquote>
<table class="quoteTable">
<tbody>
<tr>
<td valign="top" width="10"><img src="/Themes/AlmostGlass/images/icon-quote.gif"></td>
<td class="txt3"><strong>Ion Todirel wrote:</strong>
<hr size="1">
<i>&#65279;
<blockquote>
<table class="quoteTable">
<tbody>
<tr>
<td valign="top" width="10"><img src="/Themes/AlmostGlass/images/icon-quote.gif"></td>
<td class="txt3"><strong>evildictaitor wrote:</strong>
<hr size="1">
<i>&#65279;<br>
<br>
*<font color="#0000ff">void.<br>
<br>
</font></i></td>
</tr>
</tbody>
</table>
</blockquote>
good answer, you're hired<br>
</i></td>
</tr>
</tbody>
</table>
</blockquote>
<br>
<br>
Not really, delegates are more than just function pointers. They offer type safety and security as they always point to a method, which a *void may well not do.</i></td>
</tr>
</tbody>
</table>
</blockquote>
<br>
<br>
The type-safety is only at compile time (for non .NET languages), so actually what a delegate
<i><b>is </b></i>is a *void.<br>
<br>
Even in .NET it's just a typedef wrapper on a System.IntPtr.<br>
</i></td>
</tr>
</tbody>
</table>
</blockquote>
<br>
<br>
NO! A delegate is a tiny object that captures any variables in scope at the definition (that are also used in the definition). It's NOT anywhere close to a function pointer, it's more like a quick one-off class with a single method.<br>
</div>
</blockquote>
<br>
<br>
In ASM a delegate is any memory length of n bits that is addressable<br>
In C a delegate is a size_t, which is an int or long or long long depending on the processor size.<br>
In C&#43;&#43; a delegate is not significantly changed from C, but it is type-checked at compile time.<br>
In C# a delegate is a C&#43;&#43; function pointer which is (and I <a href="http://msdn2.microsoft.com/en-us/library/900fyy8e%28VS.71%29.aspx">
quote</a>)<br>
<i>Delegates are roughly similar to function pointers in C&#43;&#43;; however, delegates are type-safe and secure.</i><br>
<br>
C# encapsulates the delegate as follows:<br>
<br>
System.Delegate {<br>
&nbsp; System.Reflection.MethodBase _methodBase;<br>
&nbsp; int _methodPtr;<br>
&nbsp; int _methodPtrAux;<br>
&nbsp; object _methodTarget<br>
}<br>
<br>
When invoked statically the _methodPtr is the *void which fully describes the function. When invoked via reflection, the _methodBase describes a reflection-safe method of invokation. The methodTarget is required for instance functions which are passed as the
 last parameter to an instance call (OOP functions arn't actually OOP when they are compiled).<br>
<br>
A C# delegate invokation in CIL involves pushing the arguments of the delegate onto the stack, followed by asking the System.Delegate to invoke, which optionally pushes the target to the stack (it doesn't if the delegate is static) and then CIL-calls the methodptr,
 which is *void.<br></p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/7175181c67314827b9af9dec00a126dc#7175181c67314827b9af9dec00a126dc</link>
		<pubDate>Wed, 22 Aug 2007 20:25:14 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/7175181c67314827b9af9dec00a126dc#7175181c67314827b9af9dec00a126dc</guid>
		<dc:creator>evildictaitor</dc:creator>
		<slash:comments>80</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/evildictaitor/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Interviewing programmers</title>
		<description><![CDATA[<p><blockquote>
<div class="quoteAuthor">evildictaitor wrote:</div>
<div class="quoteBody">&#65279;<br>
<br>
In ASM a delegate is any memory length of n bits that is addressable<br>
In C a delegate is a size_t, which is an int or long or long long depending on the processor size.<br>
In C&#43;&#43; a delegate is not significantly changed from C, but it is type-checked at compile time.<br>
In C# a delegate is a C&#43;&#43; function pointer which is (and I <a href="http://msdn2.microsoft.com/en-us/library/900fyy8e%28VS.71%29.aspx">
quote</a>)<br>
<i>Delegates are roughly similar to function pointers in C&#43;&#43;; however, delegates are type-safe and secure.</i><br>
</div>
</blockquote>
<br>
<br>
You can do the same trick with, for example, &quot;a class&quot; (&quot;in ASM a class is a slab of memory&quot;.. etc.), doesn't make it true. A delegate, which is a C# concept, is only very superficially similar to a function pointer, but is really nothing like it. Like I explained,
 a delegate is a lexical closure, which is pretty isomorphic to classes (you can model one with the other). A function pointer is just a way of doing an indirect function call. Very, very different.<br>
<br>
The fact that delegates are also type safe etc. is nice and all, but that's not the key difference.<br></p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/6af2b51c36254aafaa539dec00a12708#6af2b51c36254aafaa539dec00a12708</link>
		<pubDate>Wed, 22 Aug 2007 21:48:58 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/6af2b51c36254aafaa539dec00a12708#6af2b51c36254aafaa539dec00a12708</guid>
		<dc:creator>sylvan</dc:creator>
		<slash:comments>80</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/sylvan/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Interviewing programmers</title>
		<description><![CDATA[<p><blockquote>
<div class="quoteAuthor">sylvan wrote:</div>
<div class="quoteBody">&#65279;
<blockquote>
<table class="quoteTable">
<tbody>
<tr>
<td valign="top" width="10"><img src="/Themes/AlmostGlass/images/icon-quote.gif"></td>
<td class="txt3"><strong>evildictaitor wrote:</strong>
<hr size="1">
<i>&#65279;<br>
<br>
In ASM a delegate is any memory length of n bits that is addressable<br>
In C a delegate is a size_t, which is an int or long or long long depending on the processor size.<br>
In C&#43;&#43; a delegate is not significantly changed from C, but it is type-checked at compile time.<br>
In C# a delegate is a C&#43;&#43; function pointer which is (and I <a href="http://msdn2.microsoft.com/en-us/library/900fyy8e%28VS.71%29.aspx">
quote</a>)<br>
<i>Delegates are roughly similar to function pointers in C&#43;&#43;; however, delegates are type-safe and secure.</i><br>
</i></td>
</tr>
</tbody>
</table>
</blockquote>
<br>
<br>
You can do the same trick with, for example, &quot;a class&quot; (&quot;in ASM a class is a slab of memory&quot;.. etc.), doesn't make it true. A delegate, which is a C# concept, is only very superficially similar to a function pointer, but is really nothing like it. Like I explained,
 a delegate is a lexical closure, which is pretty isomorphic to classes (you can model one with the other). A function pointer is just a way of doing an indirect function call. Very, very different.<br>
<br>
The fact that delegates are also type safe etc. is nice and all, but that's not the key difference.<br>
</div>
</blockquote>
<br>
Well, everything is a slab of memory. The point is that in ASM a delegate is a single number that has a number of bits equivilent to the processor architecture.<br>
<br></p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/39af60560baf410b880d9dec00a12735#39af60560baf410b880d9dec00a12735</link>
		<pubDate>Wed, 22 Aug 2007 22:40:52 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/39af60560baf410b880d9dec00a12735#39af60560baf410b880d9dec00a12735</guid>
		<dc:creator>evildictaitor</dc:creator>
		<slash:comments>80</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/evildictaitor/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Interviewing programmers</title>
		<description><![CDATA[<p>Wow! shouting 'NO' at someone's explanation of something is pretty lame - but to then go on and impose your misunderstanding of the difference between the System.Delegate&nbsp;class and the C# compiler generated class allowing for closures as fact is - frankly-
 embarassing for you. Bless. You should download Reflector it will help you avoid these kind of situations in future.</p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/4dbc9bce621e4a1fae879dec00a1277c#4dbc9bce621e4a1fae879dec00a1277c</link>
		<pubDate>Thu, 23 Aug 2007 13:25:21 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/4dbc9bce621e4a1fae879dec00a1277c#4dbc9bce621e4a1fae879dec00a1277c</guid>
		<dc:creator>jimMarriott</dc:creator>
		<slash:comments>80</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/jimMarriott/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Interviewing programmers</title>
		<description><![CDATA[<p>That's to Sylvan BTW... <img src='http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-5.gif' alt='Wink' /></p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/832845114d494caa87259dec00a127a3#832845114d494caa87259dec00a127a3</link>
		<pubDate>Thu, 23 Aug 2007 13:26:25 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/832845114d494caa87259dec00a127a3#832845114d494caa87259dec00a127a3</guid>
		<dc:creator>jimMarriott</dc:creator>
		<slash:comments>80</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/jimMarriott/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Interviewing programmers</title>
		<description><![CDATA[<p>Oh yea one funny thing this week. The guy I was interviewing recognised the questions I'd taken from
<a href="http://www.hanselman.com/blog/WhatGreatNETDevelopersOughtToKnowMoreNETInterviewQuestions.aspx">
Scott Hanselman's interview questions</a> blog posts.<br>
<br>
Yes he stumbled on some of them (why can't people explain the difference between a thread and a process?) but the fact that he recognised the source was a big bonus point in his direction.<br></p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/a976d0e122294574819f9dec00a127cc#a976d0e122294574819f9dec00a127cc</link>
		<pubDate>Thu, 23 Aug 2007 13:30:54 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/a976d0e122294574819f9dec00a127cc#a976d0e122294574819f9dec00a127cc</guid>
		<dc:creator>blowdart</dc:creator>
		<slash:comments>80</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/blowdart/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Interviewing programmers</title>
		<description><![CDATA[<p><blockquote>
<div class="quoteAuthor">blowdart wrote:</div>
<div class="quoteBody">&#65279;Oh yea one funny thing this week. The guy I was interviewing recognised the questions I'd taken from
<a href="http://www.hanselman.com/blog/WhatGreatNETDevelopersOughtToKnowMoreNETInterviewQuestions.aspx">
Scott Hanselman's interview questions</a> blog posts.<br>
<br>
Yes he stumbled on some of them (why can't people explain the difference between a thread and a process?) but the fact that he recognised the source was a big bonus point in his direction.<br>
</div>
</blockquote>
<br>
<br>
Assuming he would <em>want</em> to work for someone who blatantly plagarises other peoples interview questions <img src='http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-5.gif' alt='Wink' /><br>
<br>
Herbie<br></p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/a379ba3076aa4791b59f9dec00a12851#a379ba3076aa4791b59f9dec00a12851</link>
		<pubDate>Thu, 23 Aug 2007 13:37:16 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/a379ba3076aa4791b59f9dec00a12851#a379ba3076aa4791b59f9dec00a12851</guid>
		<dc:creator>Herbie Smith</dc:creator>
		<slash:comments>80</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/Dr Herbie/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Interviewing programmers</title>
		<description><![CDATA[<p><blockquote>
<div class="quoteAuthor">blowdart wrote:</div>
<div class="quoteBody">why can't people explain the difference between a thread and a process?</div>
</blockquote>
<br>
Maybe they come from a Unix background? <img src='http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-1.gif' alt='Smiley' /></p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/6ef3d34e04f24ca88d7f9dec00a1287a#6ef3d34e04f24ca88d7f9dec00a1287a</link>
		<pubDate>Thu, 23 Aug 2007 13:49:59 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/6ef3d34e04f24ca88d7f9dec00a1287a#6ef3d34e04f24ca88d7f9dec00a1287a</guid>
		<dc:creator>Sven Groot</dc:creator>
		<slash:comments>80</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/Sven Groot/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Interviewing programmers</title>
		<description><![CDATA[<p>&quot;Under what circumstances would you, or would you not, use (A) static polymorphism, (B) dynamic polymorphism, and (C) the Barton-Nackman trick?&quot;&nbsp; Then, &quot;How many different ways is the keyword 'static' overloaded - and why???&quot; <img src='http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-5.gif' alt='Wink' /></p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/07e3196cd9944ebd8c7f9dec00a128a2#07e3196cd9944ebd8c7f9dec00a128a2</link>
		<pubDate>Thu, 23 Aug 2007 22:06:35 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/07e3196cd9944ebd8c7f9dec00a128a2#07e3196cd9944ebd8c7f9dec00a128a2</guid>
		<dc:creator>Wil</dc:creator>
		<slash:comments>80</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/Wil/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Interviewing programmers</title>
		<description><![CDATA[<p><blockquote>
<div class="quoteAuthor">Wil wrote:</div>
<div class="quoteBody">&#65279;&quot;Under what circumstances would you, or would you not, use (A) static polymorphism, (B) dynamic polymorphism, and (C) the Barton-Nackman trick?&quot;&nbsp; Then, &quot;How many different ways is the keyword 'static' overloaded - and why???&quot;
<img src="/emoticons/emotion-5.gif" border="0"></div>
</blockquote>
<br>
<br>
And why are you talking about C&#43;&#43; in .net interview situation? <img src='http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-4.gif' alt='Tongue Out' /><br></p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/f1f5ef29e10b45ce85b29dec00a128cb#f1f5ef29e10b45ce85b29dec00a128cb</link>
		<pubDate>Thu, 23 Aug 2007 22:08:25 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/257126-Interviewing-programmers/f1f5ef29e10b45ce85b29dec00a128cb#f1f5ef29e10b45ce85b29dec00a128cb</guid>
		<dc:creator>blowdart</dc:creator>
		<slash:comments>80</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/blowdart/Discussions/RSS</wfw:commentRss>
	</item>
</channel>
</rss>