<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: The Hardest Test I Ever Gave (C++)</title>
	<atom:link href="http://lbrandy.com/blog/2008/11/the-hardest-test-i-ever-gave-c/feed/" rel="self" type="application/rss+xml" />
	<link>http://lbrandy.com/blog/2008/11/the-hardest-test-i-ever-gave-c/</link>
	<description>{ on programming and the internets, every monday }</description>
	<lastBuildDate>Tue, 09 Mar 2010 07:51:25 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: pierre</title>
		<link>http://lbrandy.com/blog/2008/11/the-hardest-test-i-ever-gave-c/comment-page-1/#comment-1031</link>
		<dc:creator>pierre</dc:creator>
		<pubDate>Tue, 25 Nov 2008 13:01:24 +0000</pubDate>
		<guid isPermaLink="false">http://lbrandy.com/blog/?p=283#comment-1031</guid>
		<description>I think you&#039;ve confused puzzles with education.

I&#039;ve been programming since 1965, and I wouldn&#039;t waste two minutes on trying to unravel these conundrums.

First, they will render differently depending on the compiler.

Second, why rack your brain when you can just compile them and let the compiler do the work for you.

Third, anyone writing like this in production code would get [A] a stern warning and then [B] fired.</description>
		<content:encoded><![CDATA[<p>I think you&#8217;ve confused puzzles with education.</p>
<p>I&#8217;ve been programming since 1965, and I wouldn&#8217;t waste two minutes on trying to unravel these conundrums.</p>
<p>First, they will render differently depending on the compiler.</p>
<p>Second, why rack your brain when you can just compile them and let the compiler do the work for you.</p>
<p>Third, anyone writing like this in production code would get [A] a stern warning and then [B] fired.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sven Callaerts</title>
		<link>http://lbrandy.com/blog/2008/11/the-hardest-test-i-ever-gave-c/comment-page-1/#comment-1030</link>
		<dc:creator>Sven Callaerts</dc:creator>
		<pubDate>Tue, 25 Nov 2008 08:52:53 +0000</pubDate>
		<guid isPermaLink="false">http://lbrandy.com/blog/?p=283#comment-1030</guid>
		<description>I agree with Mark Richards in that I don&#039;t see the use of these kind of tests (either in education or in job tests). It&#039;s the equivalent of those spelling tests where you have to spell words that are never used in real live (except when you do spelling contests). Some people might enjoy figuring out what the result of 3x+++%12^--45 is, but it proves nothing except that those people have nothing better to do.</description>
		<content:encoded><![CDATA[<p>I agree with Mark Richards in that I don&#8217;t see the use of these kind of tests (either in education or in job tests). It&#8217;s the equivalent of those spelling tests where you have to spell words that are never used in real live (except when you do spelling contests). Some people might enjoy figuring out what the result of 3x+++%12^&#8211;45 is, but it proves nothing except that those people have nothing better to do.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: CH Gowri Kumar</title>
		<link>http://lbrandy.com/blog/2008/11/the-hardest-test-i-ever-gave-c/comment-page-1/#comment-1029</link>
		<dc:creator>CH Gowri Kumar</dc:creator>
		<pubDate>Tue, 25 Nov 2008 08:09:44 +0000</pubDate>
		<guid isPermaLink="false">http://lbrandy.com/blog/?p=283#comment-1029</guid>
		<description>You might be interested in my collection of these sort of questions as well:-)
http://www.gowrikumar.com/c/index.html</description>
		<content:encoded><![CDATA[<p>You might be interested in my collection of these sort of questions as well:-)<br />
<a href="http://www.gowrikumar.com/c/index.html" rel="nofollow">http://www.gowrikumar.com/c/index.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: CPP</title>
		<link>http://lbrandy.com/blog/2008/11/the-hardest-test-i-ever-gave-c/comment-page-1/#comment-1028</link>
		<dc:creator>CPP</dc:creator>
		<pubDate>Tue, 25 Nov 2008 05:58:24 +0000</pubDate>
		<guid isPermaLink="false">http://lbrandy.com/blog/?p=283#comment-1028</guid>
		<description>Question (1e) is undefined, since it has the expression &quot;x = x++&quot;.</description>
		<content:encoded><![CDATA[<p>Question (1e) is undefined, since it has the expression &#8220;x = x++&#8221;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pedro</title>
		<link>http://lbrandy.com/blog/2008/11/the-hardest-test-i-ever-gave-c/comment-page-1/#comment-1027</link>
		<dc:creator>Pedro</dc:creator>
		<pubDate>Tue, 25 Nov 2008 05:26:10 +0000</pubDate>
		<guid isPermaLink="false">http://lbrandy.com/blog/?p=283#comment-1027</guid>
		<description>@Tim: &#039;5//3&#039; is as valid an expression as &#039;5 /* blah */&#039; or as &#039;6*4&#039;. The semicolon is not part of the expression. The rest of the line would be ignored but that&#039;s not relevant for it being an expression or not. The value of that expression is 5. Think e.g. #define n 5//3. So the answer to 2d is 5, regardless of how you &quot;make it work&quot;.</description>
		<content:encoded><![CDATA[<p>@Tim: &#8216;5//3&#8242; is as valid an expression as &#8216;5 /* blah */&#8217; or as &#8216;6*4&#8242;. The semicolon is not part of the expression. The rest of the line would be ignored but that&#8217;s not relevant for it being an expression or not. The value of that expression is 5. Think e.g. #define n 5//3. So the answer to 2d is 5, regardless of how you &#8220;make it work&#8221;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bill King</title>
		<link>http://lbrandy.com/blog/2008/11/the-hardest-test-i-ever-gave-c/comment-page-1/#comment-1026</link>
		<dc:creator>Bill King</dc:creator>
		<pubDate>Tue, 25 Nov 2008 04:25:49 +0000</pubDate>
		<guid isPermaLink="false">http://lbrandy.com/blog/?p=283#comment-1026</guid>
		<description>Ow. My brain went pop on one or two of those, and I&#039;ve been doing this proffesionally for at least 10 years.

That said, I&#039;ve spent most of the day tracking down who&#039;s sending my code a packet of spurious data. Stupy event driven systems with no origin information.</description>
		<content:encoded><![CDATA[<p>Ow. My brain went pop on one or two of those, and I&#8217;ve been doing this proffesionally for at least 10 years.</p>
<p>That said, I&#8217;ve spent most of the day tracking down who&#8217;s sending my code a packet of spurious data. Stupy event driven systems with no origin information.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ex</title>
		<link>http://lbrandy.com/blog/2008/11/the-hardest-test-i-ever-gave-c/comment-page-1/#comment-1025</link>
		<dc:creator>ex</dc:creator>
		<pubDate>Tue, 25 Nov 2008 04:16:31 +0000</pubDate>
		<guid isPermaLink="false">http://lbrandy.com/blog/?p=283#comment-1025</guid>
		<description>ouch man! poor students... :(</description>
		<content:encoded><![CDATA[<p>ouch man! poor students&#8230; <img src='http://lbrandy.com/blog/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>
