<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Day 15 &#8211; Something Exceptional</title>
	<atom:link href="http://perl6advent.wordpress.com/2011/12/15/day-15-something-exceptional/feed/" rel="self" type="application/rss+xml" />
	<link>http://perl6advent.wordpress.com/2011/12/15/day-15-something-exceptional/</link>
	<description>Something cool about Perl 6 every day</description>
	<lastBuildDate>Sun, 03 Feb 2013 05:15:50 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: Moritz</title>
		<link>http://perl6advent.wordpress.com/2011/12/15/day-15-something-exceptional/#comment-1023</link>
		<dc:creator><![CDATA[Moritz]]></dc:creator>
		<pubDate>Fri, 16 Dec 2011 12:43:37 +0000</pubDate>
		<guid isPermaLink="false">http://perl6advent.wordpress.com/?p=956#comment-1023</guid>
		<description><![CDATA[Perl follows the TIMTOWDI principle; it&#039;s ok for the user to throw string errors; it&#039;s not OK for the compiler. And exception types are what you should be matching against, yes

But even if we standardize the exception types, we need to unify the wording of the error messages, because there will be non-Perl 6 tools with which we interact. For example if you log the output from a Perl 6 application, and then change the compiler you use under the hood, it would be nice if the wording of the error messages didn&#039;t change, so that the log analyzer doesn&#039;t think a new class of errors occured.]]></description>
		<content:encoded><![CDATA[<p>Perl follows the TIMTOWDI principle; it&#8217;s ok for the user to throw string errors; it&#8217;s not OK for the compiler. And exception types are what you should be matching against, yes</p>
<p>But even if we standardize the exception types, we need to unify the wording of the error messages, because there will be non-Perl 6 tools with which we interact. For example if you log the output from a Perl 6 application, and then change the compiler you use under the hood, it would be nice if the wording of the error messages didn&#8217;t change, so that the log analyzer doesn&#8217;t think a new class of errors occured.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dag Odenhall (@donri)</title>
		<link>http://perl6advent.wordpress.com/2011/12/15/day-15-something-exceptional/#comment-1021</link>
		<dc:creator><![CDATA[Dag Odenhall (@donri)]]></dc:creator>
		<pubDate>Fri, 16 Dec 2011 11:44:59 +0000</pubDate>
		<guid isPermaLink="false">http://perl6advent.wordpress.com/?p=956#comment-1021</guid>
		<description><![CDATA[I get the feeling that it&#039;s considered OK to have &quot;stringly typed&quot; exception handling, for example smart-matching on error messages and the supposed need for standardized messages. Is it not better to standardize exception subclasses and let the message be free-form? It might still be human-friendly to standardize the messages but surely it&#039;s more programming-friendly to match against classes/types?]]></description>
		<content:encoded><![CDATA[<p>I get the feeling that it&#8217;s considered OK to have &#8220;stringly typed&#8221; exception handling, for example smart-matching on error messages and the supposed need for standardized messages. Is it not better to standardize exception subclasses and let the message be free-form? It might still be human-friendly to standardize the messages but surely it&#8217;s more programming-friendly to match against classes/types?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Moritz</title>
		<link>http://perl6advent.wordpress.com/2011/12/15/day-15-something-exceptional/#comment-1007</link>
		<dc:creator><![CDATA[Moritz]]></dc:creator>
		<pubDate>Thu, 15 Dec 2011 14:23:08 +0000</pubDate>
		<guid isPermaLink="false">http://perl6advent.wordpress.com/?p=956#comment-1007</guid>
		<description><![CDATA[X is just a namespace in which exceptions go by default, but it&#039;s not mandatory to put them there.

There is currently no type constraint for what you can throw. &lt;code&gt;die &quot;some string&quot;&lt;/code&gt; and &lt;code&gt;die 404&lt;/code&gt; both work, but the mechanism that catches the exceptions will wrap them into an object of type &lt;code&gt;Exception&lt;/code&gt;, which provides the backtrace and other meta data. I&#039;m not sure yet if that exact mechanism is here to stay, but we will continue to allow the user throw exceptions without first writing classes for it.]]></description>
		<content:encoded><![CDATA[<p>X is just a namespace in which exceptions go by default, but it&#8217;s not mandatory to put them there.</p>
<p>There is currently no type constraint for what you can throw. <code>die "some string"</code> and <code>die 404</code> both work, but the mechanism that catches the exceptions will wrap them into an object of type <code>Exception</code>, which provides the backtrace and other meta data. I&#8217;m not sure yet if that exact mechanism is here to stay, but we will continue to allow the user throw exceptions without first writing classes for it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: fox</title>
		<link>http://perl6advent.wordpress.com/2011/12/15/day-15-something-exceptional/#comment-1006</link>
		<dc:creator><![CDATA[fox]]></dc:creator>
		<pubDate>Thu, 15 Dec 2011 14:11:22 +0000</pubDate>
		<guid isPermaLink="false">http://perl6advent.wordpress.com/?p=956#comment-1006</guid>
		<description><![CDATA[very nice ! but some questions( about the language):

I suppose the X class(?) is the generic exception ? will there be type constraints on what can be throw ?, like, it must do &#039;X&#039; ?]]></description>
		<content:encoded><![CDATA[<p>very nice ! but some questions( about the language):</p>
<p>I suppose the X class(?) is the generic exception ? will there be type constraints on what can be throw ?, like, it must do &#8216;X&#8217; ?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
