<?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: Preventing Recursion in Ruby</title>
	<atom:link href="http://www.codebenders.com/code/preventing-recursion-in-ruby/feed" rel="self" type="application/rss+xml" />
	<link>http://www.codebenders.com/code-cat/preventing-recursion-in-ruby/</link>
	<description>Agile Software Developers</description>
	<lastBuildDate>Thu, 19 Apr 2012 17:26:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
	<item>
		<title>By: Karol Bucek</title>
		<link>http://www.codebenders.com/code-cat/preventing-recursion-in-ruby/#comment-286</link>
		<dc:creator>Karol Bucek</dc:creator>
		<pubDate>Mon, 06 Feb 2012 09:34:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.codebenders.com/?p=1135#comment-286</guid>
		<description>I already realized my mistake (and updated the post), I originally thought it&#039;s thread locals here are unnecessary and can be avoided but in general per thread state is the &quot;safest&quot; way to go to prevent recursion.</description>
		<content:encoded><![CDATA[<p>I already realized my mistake (and updated the post), I originally thought it&#8217;s thread locals here are unnecessary and can be avoided but in general per thread state is the &#8220;safest&#8221; way to go to prevent recursion.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://www.codebenders.com/code-cat/preventing-recursion-in-ruby/#comment-285</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Sun, 05 Feb 2012 19:22:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.codebenders.com/?p=1135#comment-285</guid>
		<description>Where does the &quot;abuse&quot; come in?  (and Avdi responded to the necessity already)</description>
		<content:encoded><![CDATA[<p>Where does the &#8220;abuse&#8221; come in?  (and Avdi responded to the necessity already)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://www.codebenders.com/code-cat/preventing-recursion-in-ruby/#comment-284</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Sun, 05 Feb 2012 19:21:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.codebenders.com/?p=1135#comment-284</guid>
		<description>nice piece of code</description>
		<content:encoded><![CDATA[<p>nice piece of code</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Avdi Grimm</title>
		<link>http://www.codebenders.com/code-cat/preventing-recursion-in-ruby/#comment-281</link>
		<dc:creator>Avdi Grimm</dc:creator>
		<pubDate>Fri, 03 Feb 2012 02:10:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.codebenders.com/?p=1135#comment-281</guid>
		<description>As I replied on your blog, Thread.current is the only way to keep this both thread-safe and fiber-safe. Globally redefining methods temporarily is an extremely dangerous technique, because when it finally bites you it will be in the form of a bug that is impossible to reliably reproduce, and which gives little or no indications of its true origin. </description>
		<content:encoded><![CDATA[<p>As I replied on your blog, Thread.current is the only way to keep this both thread-safe and fiber-safe. Globally redefining methods temporarily is an extremely dangerous technique, because when it finally bites you it will be in the form of a bug that is impossible to reliably reproduce, and which gives little or no indications of its true origin.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Karol Bucek</title>
		<link>http://www.codebenders.com/code-cat/preventing-recursion-in-ruby/#comment-280</link>
		<dc:creator>Karol Bucek</dc:creator>
		<pubDate>Thu, 02 Feb 2012 11:45:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.codebenders.com/?p=1135#comment-280</guid>
		<description>I think Thread.current is abused here and seems entirely unnecessary ...
http://log.kares.org/2012/02/preventing-recursion-in-ruby-without.html</description>
		<content:encoded><![CDATA[<p>I think Thread.current is abused here and seems entirely unnecessary &#8230;<br />
<a href="http://log.kares.org/2012/02/preventing-recursion-in-ruby-without.html" rel="nofollow">http://log.kares.org/2012/02/preventing-recursion-in-ruby-without.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: phiggy</title>
		<link>http://www.codebenders.com/code-cat/preventing-recursion-in-ruby/#comment-276</link>
		<dc:creator>phiggy</dc:creator>
		<pubDate>Wed, 01 Feb 2012 18:08:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.codebenders.com/?p=1135#comment-276</guid>
		<description>:__inspect_key__ is used in a few places in ruby&#039;s stdlib to do just what you&#039;re doing here, avoiding recursion during a call to #inspect in case an object refers to itself.</description>
		<content:encoded><![CDATA[<p>:__inspect_key__ is used in a few places in ruby&#8217;s stdlib to do just what you&#8217;re doing here, avoiding recursion during a call to #inspect in case an object refers to itself.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alexander Paramonov</title>
		<link>http://www.codebenders.com/code-cat/preventing-recursion-in-ruby/#comment-274</link>
		<dc:creator>Alexander Paramonov</dc:creator>
		<pubDate>Wed, 01 Feb 2012 14:18:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.codebenders.com/?p=1135#comment-274</guid>
		<description>Had similar problem some time ago with saving objects, that has relationships one to other. That was a reason i started this small gem https://github.com/AlexParamonov/save_queue that grow to something bigger than just recursion prevention. 
but not sure about it Tread safety. Will try to add tread-safe behavior to it. Thnx for post, Avdi</description>
		<content:encoded><![CDATA[<p>Had similar problem some time ago with saving objects, that has relationships one to other. That was a reason i started this small gem <a href="https://github.com/AlexParamonov/save_queue" rel="nofollow">https://github.com/AlexParamonov/save_queue</a> that grow to something bigger than just recursion prevention.<br />
but not sure about it Tread safety. Will try to add tread-safe behavior to it. Thnx for post, Avdi</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/


Served from: www.codebenders.com @ 2012-05-18 12:06:16 -->
