<?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: Exceptions are your Friends</title>
	<atom:link href="http://www.huyng.com/archives/exceptions-are-your-friends/537/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.huyng.com/archives/exceptions-are-your-friends/537/</link>
	<description></description>
	<lastBuildDate>Mon, 16 Aug 2010 10:05:24 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Adrian</title>
		<link>http://www.huyng.com/archives/exceptions-are-your-friends/537/comment-page-1/#comment-2274</link>
		<dc:creator>Adrian</dc:creator>
		<pubDate>Wed, 10 Feb 2010 02:20:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.huyng.com/?p=537#comment-2274</guid>
		<description>$ python -O -c &#039;assert False&#039; &amp;&amp; echo ok
ok</description>
		<content:encoded><![CDATA[<p>$ python -O -c &#8216;assert False&#8217; &amp;&amp; echo ok<br />
ok</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Casey Duncan</title>
		<link>http://www.huyng.com/archives/exceptions-are-your-friends/537/comment-page-1/#comment-2271</link>
		<dc:creator>Casey Duncan</dc:creator>
		<pubDate>Tue, 09 Feb 2010 21:43:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.huyng.com/?p=537#comment-2271</guid>
		<description>As with every great rule, there are great exceptions (bad pun I know). To the above I would say that one type of program that should try to keep plodding along as long as possible in the face of errors and inconsistencies is a video game. Unless you are running it in debug mode, it should be tolerant of certain wonky states unless there is simply no way to go on.

In games you are often looping through various data structures that are changing constantly and can get themselves into infinite combinations of states. Some degree of \fault\ tolerance is often valuable. For instance you may sometimes need to watch out for KeyErrors (in particular when deleting things) and let them pass silently. 

Of course doing this well without creating a worse chaos is an art unto itself.</description>
		<content:encoded><![CDATA[<p>As with every great rule, there are great exceptions (bad pun I know). To the above I would say that one type of program that should try to keep plodding along as long as possible in the face of errors and inconsistencies is a video game. Unless you are running it in debug mode, it should be tolerant of certain wonky states unless there is simply no way to go on.</p>
<p>In games you are often looping through various data structures that are changing constantly and can get themselves into infinite combinations of states. Some degree of \fault\ tolerance is often valuable. For instance you may sometimes need to watch out for KeyErrors (in particular when deleting things) and let them pass silently. </p>
<p>Of course doing this well without creating a worse chaos is an art unto itself.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Huy</title>
		<link>http://www.huyng.com/archives/exceptions-are-your-friends/537/comment-page-1/#comment-2269</link>
		<dc:creator>Huy</dc:creator>
		<pubDate>Tue, 09 Feb 2010 20:06:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.huyng.com/?p=537#comment-2269</guid>
		<description>Funny how one quote obviates the need for this entire rant :) . &quot;import this&quot; brings new insight every single time I look.</description>
		<content:encoded><![CDATA[<p>Funny how one quote obviates the need for this entire rant <img src='http://www.huyng.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  . &#8220;import this&#8221; brings new insight every single time I look.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nes</title>
		<link>http://www.huyng.com/archives/exceptions-are-your-friends/537/comment-page-1/#comment-2268</link>
		<dc:creator>nes</dc:creator>
		<pubDate>Tue, 09 Feb 2010 18:24:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.huyng.com/?p=537#comment-2268</guid>
		<description>&quot;Errors should never pass silently.&quot; (aphorism 10, Zen of Python, Tim Peters)</description>
		<content:encoded><![CDATA[<p>&#8220;Errors should never pass silently.&#8221; (aphorism 10, Zen of Python, Tim Peters)</p>
]]></content:encoded>
	</item>
</channel>
</rss>
