<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.2" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: Annals of Idiotic Bugs</title>
	<link>http://www.thirdbit.net/articles/2007/08/21/annals-of-idiotic-bugs/</link>
	<description>Reqs. Code. Docs. Done.</description>
	<pubDate>Fri, 21 Nov 2008 22:02:33 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.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>
		<author>CSCI E-168 &#187; Blog Archive &#187; Attention! Amy&#8217;s additional announcements</author>
		<pubDate>Fri, 28 Sep 2007 03:37:10 +0000</pubDate>
		<guid>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>[&#8230;] Someone asked about my own blog. It is at <a href="http://www.thirdbit.net." rel="nofollow">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 [&#8230;]</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>
		<author>jimjim</author>
		<pubDate>Fri, 24 Aug 2007 11:09:59 +0000</pubDate>
		<guid>http://www.thirdbit.net/articles/2007/08/21/annals-of-idiotic-bugs/#comment-631</guid>
		<description>&#62; Duh, because X will always equal y if you assign it to y instead
&#62; of checking to see if it == y!

Or rather, 'x' will always be true (x=y =&#62; x)... as long as y is true.

irb(main):001:0&#62; y=1; if x=y then true end
=&#62; true
irb(main):002:0&#62; y=nil; if x=y then true end
=&#62; nil

It'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>
		<author>tsonny</author>
		<pubDate>Wed, 22 Aug 2007 00:08:05 +0000</pubDate>
		<guid>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>
