<?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: Annals of Idiotic Bugs</title>
	<atom:link href="http://www.thirdbit.net/articles/2007/08/21/annals-of-idiotic-bugs/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.thirdbit.net/articles/2007/08/21/annals-of-idiotic-bugs/</link>
	<description>Reqs. Code. Docs. Done.</description>
	<lastBuildDate>Mon, 06 Jun 2011 10:40:39 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
	<item>
		<title>By: CSCI E-168 &#187; Blog Archive &#187; Attention! Amy&#8217;s additional announcements</title>
		<link>http://www.thirdbit.net/articles/2007/08/21/annals-of-idiotic-bugs/#comment-988</link>
		<dc:creator>CSCI E-168 &#187; Blog Archive &#187; Attention! Amy&#8217;s additional announcements</dc:creator>
		<pubDate>Fri, 28 Sep 2007 03:37:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.thirdbit.net/articles/2007/08/21/annals-of-idiotic-bugs/#comment-988</guid>
		<description>[...] Someone asked about my own blog. It is at www.thirdbit.net. Sometimes I post reports of idiot bugs I&#8217;ve found in my own code, and I&#8217;m sure that reading those will cause people in my section no end of amusement. As I [...]</description>
		<content:encoded><![CDATA[<p>[...] Someone asked about my own blog. It is at <a href="http://www.thirdbit.net" rel="nofollow">http://www.thirdbit.net</a>. Sometimes I post reports of idiot bugs I&#8217;ve found in my own code, and I&#8217;m sure that reading those will cause people in my section no end of amusement. As I [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jimjim</title>
		<link>http://www.thirdbit.net/articles/2007/08/21/annals-of-idiotic-bugs/#comment-631</link>
		<dc:creator>jimjim</dc:creator>
		<pubDate>Fri, 24 Aug 2007 11:09:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.thirdbit.net/articles/2007/08/21/annals-of-idiotic-bugs/#comment-631</guid>
		<description>&gt; Duh, because X will always equal y if you assign it to y instead
&gt; of checking to see if it == y!

Or rather, &#039;x&#039; will always be true (x=y =&gt; x)... as long as y is true.

irb(main):001:0&gt; y=1; if x=y then true end
=&gt; true
irb(main):002:0&gt; y=nil; if x=y then true end
=&gt; nil

It&#039;s useful for the pattern:
if md=bar.match(/f(oo)/) then
p md[1]
end</description>
		<content:encoded><![CDATA[<p>&gt; Duh, because X will always equal y if you assign it to y instead<br />
&gt; of checking to see if it == y!</p>
<p>Or rather, &#8216;x&#8217; will always be true (x=y =&gt; x)&#8230; as long as y is true.</p>
<p>irb(main):001:0&gt; y=1; if x=y then true end<br />
=&gt; true<br />
irb(main):002:0&gt; y=nil; if x=y then true end<br />
=&gt; nil</p>
<p>It&#8217;s useful for the pattern:<br />
if md=bar.match(/f(oo)/) then<br />
p md[1]<br />
end</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tsonny</title>
		<link>http://www.thirdbit.net/articles/2007/08/21/annals-of-idiotic-bugs/#comment-607</link>
		<dc:creator>tsonny</dc:creator>
		<pubDate>Wed, 22 Aug 2007 00:08:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.thirdbit.net/articles/2007/08/21/annals-of-idiotic-bugs/#comment-607</guid>
		<description>hahahaha...laughing at myself via your blog today was relieving. Thanks for sharing the story and the code sample.</description>
		<content:encoded><![CDATA[<p>hahahaha&#8230;laughing at myself via your blog today was relieving. Thanks for sharing the story and the code sample.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

