<?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: go jdbc!</title>
	<atom:link href="http://malvasiabianca.org/archives/2006/02/go-jdbc/feed/" rel="self" type="application/rss+xml" />
	<link>http://malvasiabianca.org/archives/2006/02/go-jdbc/</link>
	<description></description>
	<lastBuildDate>Fri, 10 Feb 2012 05:54:57 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
	<item>
		<title>By: david carlton</title>
		<link>http://malvasiabianca.org/archives/2006/02/go-jdbc/comment-page-1/#comment-4425</link>
		<dc:creator>david carlton</dc:creator>
		<pubDate>Fri, 03 Mar 2006 17:26:59 +0000</pubDate>
		<guid isPermaLink="false">http://malvasiabianca.org/?p=313#comment-4425</guid>
		<description>Throwing exceptions is good - the database connection could go south at any time, after all, and I&#039;d rather have exceptions than return codes.  And I would even be forced to concede that, if we&#039;re going to make a checked exception / unchecked exception distinction, that the exceptions should be checked.  I just don&#039;t believe in the whole checked exception thing in the first place.  (Though it is admittedly less of a misfeature in Java than in C++.)

I&#039;m of two minds as to what I should do in my own code here - when I translate these exceptions into my own exception type, should I make my own exceptions be checked or unchecked?  In the past, I&#039;ve gone with the former, because in general I like to write code that&#039;s idiomatic in the language that I&#039;m using.  But if I were to do that in this case, I would have to stick a throw spec on tons and tons of methods; this would in no way improve clarity, and given that I&#039;m only planning to catch exceptions at the top level, it wouldn&#039;t improve safety either.</description>
		<content:encoded><![CDATA[<p>Throwing exceptions is good &#8211; the database connection could go south at any time, after all, and I&#8217;d rather have exceptions than return codes.  And I would even be forced to concede that, if we&#8217;re going to make a checked exception / unchecked exception distinction, that the exceptions should be checked.  I just don&#8217;t believe in the whole checked exception thing in the first place.  (Though it is admittedly less of a misfeature in Java than in C++.)</p>
<p>I&#8217;m of two minds as to what I should do in my own code here &#8211; when I translate these exceptions into my own exception type, should I make my own exceptions be checked or unchecked?  In the past, I&#8217;ve gone with the former, because in general I like to write code that&#8217;s idiomatic in the language that I&#8217;m using.  But if I were to do that in this case, I would have to stick a throw spec on tons and tons of methods; this would in no way improve clarity, and given that I&#8217;m only planning to catch exceptions at the top level, it wouldn&#8217;t improve safety either.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Roger Standridge</title>
		<link>http://malvasiabianca.org/archives/2006/02/go-jdbc/comment-page-1/#comment-4424</link>
		<dc:creator>Roger Standridge</dc:creator>
		<pubDate>Fri, 03 Mar 2006 17:21:32 +0000</pubDate>
		<guid isPermaLink="false">http://malvasiabianca.org/?p=313#comment-4424</guid>
		<description>Grrr... API&#039;s that throw exceptions. There ought to be an automated way to deal with this kind of mis-feature.</description>
		<content:encoded><![CDATA[<p>Grrr&#8230; API&#8217;s that throw exceptions. There ought to be an automated way to deal with this kind of mis-feature.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced (User agent is rejected)
Database Caching 1/11 queries in 0.028 seconds using disk: basic

Served from: malvasiabianca.org @ 2012-02-10 22:34:26 -->
