<?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"
	>
<channel>
	<title>Comments on: re: Java&#8217;s checked exceptions were a mistake</title>
	<atom:link href="http://madbean.com/2003/mb2003-15/feed/" rel="self" type="application/rss+xml" />
	<link>http://madbean.com/2003/mb2003-15/</link>
	<description>Your zero step program</description>
	<pubDate>Sat, 22 Nov 2008 05:29:47 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.3</generator>
		<item>
		<title>By: Malcolm Edgar</title>
		<link>http://madbean.com/2003/mb2003-15/#comment-32</link>
		<dc:creator>Malcolm Edgar</dc:creator>
		<pubDate>Tue, 27 May 2003 03:52:22 +0000</pubDate>
		<guid isPermaLink="false">http://madbean.com/blog/2003-15#comment-32</guid>
		<description>&lt;p&gt;I am moving towards using unchecked exceptions after years of using checked exceptions for everything, except illegal arguments. The code is easier to read and write, and in most frameworks there is a top level exception handler which will do something sensible.&lt;/p&gt;

&lt;p&gt;I think when you have resources which must be cleaned up, such as Connections, I/O Streams and Files, you should use checked exceptions. Otherwise I think unchecked exceptions are fine, so long as you javadoc these in your methods. &lt;/p&gt;

&lt;p&gt;I find nesting causing the exceptions in very handy when designing exception handling code.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I am moving towards using unchecked exceptions after years of using checked exceptions for everything, except illegal arguments. The code is easier to read and write, and in most frameworks there is a top level exception handler which will do something sensible.</p>
<p>I think when you have resources which must be cleaned up, such as Connections, I/O Streams and Files, you should use checked exceptions. Otherwise I think unchecked exceptions are fine, so long as you javadoc these in your methods. </p>
<p>I find nesting causing the exceptions in very handy when designing exception handling code.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Oliver Burn</title>
		<link>http://madbean.com/2003/mb2003-15/#comment-31</link>
		<dc:creator>Oliver Burn</dc:creator>
		<pubDate>Thu, 03 Apr 2003 06:25:00 +0000</pubDate>
		<guid isPermaLink="false">http://madbean.com/blog/2003-15#comment-31</guid>
		<description>&lt;p&gt;That is an interesting approach using Generics. Just looking at the example convinces me that Generics will be taking the complexity of Java to a new level. This is good for people with big brains, and bad for the rest of us. It reminds me of my days in C++ using the templates.&lt;/p&gt;

&lt;p&gt;I guess Generics are like razor blades. A very efficient tool in the hands of an expert, but very dangerous in the hands of somebody who does not know what they are doing. Personally I am not desperately waiting for them.&lt;/p&gt;

&lt;p&gt;Out of curiosity, what if do not want my test() method to throw an exception. With the example it looks like I am forced to throw an exception. I guess I could use the RuntimeException, except your declaration says the exception must extend Exception?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>That is an interesting approach using Generics. Just looking at the example convinces me that Generics will be taking the complexity of Java to a new level. This is good for people with big brains, and bad for the rest of us. It reminds me of my days in C++ using the templates.</p>
<p>I guess Generics are like razor blades. A very efficient tool in the hands of an expert, but very dangerous in the hands of somebody who does not know what they are doing. Personally I am not desperately waiting for them.</p>
<p>Out of curiosity, what if do not want my test() method to throw an exception. With the example it looks like I am forced to throw an exception. I guess I could use the RuntimeException, except your declaration says the exception must extend Exception?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
