<?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"
	>
<channel>
	<title>Comments on: Guess the bug!</title>
	<atom:link href="http://boredzo.org/blog/archives/2007-03-31/guess-the-bug/feed" rel="self" type="application/rss+xml" />
	<link>http://boredzo.org/blog/archives/2007-03-31/guess-the-bug</link>
	<description>The personal weblog of Peter Hosey.</description>
	<pubDate>Thu, 20 Nov 2008 13:01:13 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
		<item>
		<title>By: Chuck</title>
		<link>http://boredzo.org/blog/archives/2007-03-31/guess-the-bug#comment-17355</link>
		<dc:creator>Chuck</dc:creator>
		<pubDate>Sun, 01 Apr 2007 19:29:52 +0000</pubDate>
		<guid isPermaLink="false">http://boredzo.org/blog/archives/2007-03-31/guess-the-bug#comment-17355</guid>
		<description>And this, children, is why we should never use the comma operator. It is a siren trying to lure you in with her arcane, 1337-looking song.</description>
		<content:encoded><![CDATA[<p>And this, children, is why we should never use the comma operator. It is a siren trying to lure you in with her arcane, 1337-looking song.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Evan Schoenberg</title>
		<link>http://boredzo.org/blog/archives/2007-03-31/guess-the-bug#comment-17178</link>
		<dc:creator>Evan Schoenberg</dc:creator>
		<pubDate>Sun, 01 Apr 2007 02:05:58 +0000</pubDate>
		<guid isPermaLink="false">http://boredzo.org/blog/archives/2007-03-31/guess-the-bug#comment-17178</guid>
		<description>s/pretty/pretty sure/
Though I'm also pretty, I'm not pretty nothing.</description>
		<content:encoded><![CDATA[<p>s/pretty/pretty sure/<br />
Though I'm also pretty, I'm not pretty nothing.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Evan Schoenberg</title>
		<link>http://boredzo.org/blog/archives/2007-03-31/guess-the-bug#comment-17177</link>
		<dc:creator>Evan Schoenberg</dc:creator>
		<pubDate>Sun, 01 Apr 2007 02:05:27 +0000</pubDate>
		<guid isPermaLink="false">http://boredzo.org/blog/archives/2007-03-31/guess-the-bug#comment-17177</guid>
		<description>I'm pretty nothing - not even funny thing here which has very low precedence - is lower on the order of events than a comma. :)</description>
		<content:encoded><![CDATA[<p>I'm pretty nothing - not even funny thing here which has very low precedence - is lower on the order of events than a comma. :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter Hosey</title>
		<link>http://boredzo.org/blog/archives/2007-03-31/guess-the-bug#comment-17154</link>
		<dc:creator>Peter Hosey</dc:creator>
		<pubDate>Sun, 01 Apr 2007 00:25:27 +0000</pubDate>
		<guid isPermaLink="false">http://boredzo.org/blog/archives/2007-03-31/guess-the-bug#comment-17154</guid>
		<description>Heh, you're right. I thought that the comma would take precedence, and a would get 100. Silly me. :)</description>
		<content:encoded><![CDATA[<p>Heh, you're right. I thought that the comma would take precedence, and a would get 100. Silly me. :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Evan Schoenberg</title>
		<link>http://boredzo.org/blog/archives/2007-03-31/guess-the-bug#comment-17150</link>
		<dc:creator>Evan Schoenberg</dc:creator>
		<pubDate>Sat, 31 Mar 2007 23:58:43 +0000</pubDate>
		<guid isPermaLink="false">http://boredzo.org/blog/archives/2007-03-31/guess-the-bug#comment-17150</guid>
		<description>What were you trying to do?  If all you want to do is assign 42 to 'a' and 100 to 'b', it's fine, though weird, isn't it?  Now, if you wanted to check the return value, you'd find that the second statement's return value was relevant, so:
	if ((a = 42, b = 100) == 42) {
		NSLog(@"a");
	} else if ((a = 42, b = 100) == 100) {
		NSLog(@"b");
	} else {
		NSLog(@"%i",(a = 42, b = 100));		
	}
will output "b".</description>
		<content:encoded><![CDATA[<p>What were you trying to do?  If all you want to do is assign 42 to 'a' and 100 to 'b', it's fine, though weird, isn't it?  Now, if you wanted to check the return value, you'd find that the second statement's return value was relevant, so:<br />
	if ((a = 42, b = 100) == 42) {<br />
		NSLog(@"a");<br />
	} else if ((a = 42, b = 100) == 100) {<br />
		NSLog(@"b");<br />
	} else {<br />
		NSLog(@"%i",(a = 42, b = 100));<br />
	}<br />
will output "b".</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.429 seconds -->
