<?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: The Exceptional Mr Gosling</title>
	<atom:link href="http://www.nobugs.org/blog/archives/2003/09/22/the-exceptional-mr-gosling/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.nobugs.org/blog/archives/2003/09/22/the-exceptional-mr-gosling/</link>
	<description>Thoughts of a software engineer</description>
	<pubDate>Tue, 06 Jan 2009 18:33:55 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.3</generator>
		<item>
		<title>By: Anthony Bailey</title>
		<link>http://www.nobugs.org/blog/archives/2003/09/22/the-exceptional-mr-gosling/#comment-31</link>
		<dc:creator>Anthony Bailey</dc:creator>
		<pubDate>Thu, 01 Jan 1970 01:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.nobugs.org/blog/archives/2003/09/22/the-exceptional-mr-gosling/#comment-31</guid>
		<description>Error handling isn't just uncool, it's also ugly. All that code for exceptional conditions messes up the beautiful clean program that runs 99% of the time, and interferes with one's ability to understand that program. And whilst I agree with Andy that error-handling has to be treated with respect (same networked medical application), it shouldn't be allowed to hurt the "99% of the time" code.

Knuth claimed (I don't have &lt;a href="http://www.amazon.com/exec/obidos/ASIN/0937073806/"&gt;the book&lt;/a&gt; here, so please excuse the paraphrase and any misrepresentation) that one of the benefits of literate programming was that he could present the core program first, with simple "Handle errors from the file system" placeholders in appropriate places. So the main code remained relatively beautiful.

And then, when it was time to write the error-handling code, suddenly he found his perspective changed. The error-handling was no longer a distraction from the main problem to be solved; it was the first-class citizen it ought to be, a fresh, new, interesting problem in it's own right, to be solved with rigour and enthusiasm. The sun shone, bunnies hopped, and the new age of peace and enlightenment dawned.

Now, Knuth was clearly slightly crazy. It should not be possible to get too excited about the many ways a help file may fail to open, and the problems presented by handling errors do not tend to be the most interesting ones a programmer may face. Nevertheless, I think there's something of value there: since error-handling code always suffers in the shadow of the exciting stuff, &lt;a href="http://www.nobugs.org/"&gt;people&lt;/a&gt; implementing &lt;a href="http://www.ergnosis.com/"&gt;grand new developer environments&lt;/a&gt; might want to provide ways to give it it's own time and space.</description>
		<content:encoded><![CDATA[<p>Error handling isn&#8217;t just uncool, it&#8217;s also ugly. All that code for exceptional conditions messes up the beautiful clean program that runs 99% of the time, and interferes with one&#8217;s ability to understand that program. And whilst I agree with Andy that error-handling has to be treated with respect (same networked medical application), it shouldn&#8217;t be allowed to hurt the &#8220;99% of the time&#8221; code.</p>
<p>Knuth claimed (I don&#8217;t have <a href="http://www.amazon.com/exec/obidos/ASIN/0937073806/">the book</a> here, so please excuse the paraphrase and any misrepresentation) that one of the benefits of literate programming was that he could present the core program first, with simple &#8220;Handle errors from the file system&#8221; placeholders in appropriate places. So the main code remained relatively beautiful.</p>
<p>And then, when it was time to write the error-handling code, suddenly he found his perspective changed. The error-handling was no longer a distraction from the main problem to be solved; it was the first-class citizen it ought to be, a fresh, new, interesting problem in it&#8217;s own right, to be solved with rigour and enthusiasm. The sun shone, bunnies hopped, and the new age of peace and enlightenment dawned.</p>
<p>Now, Knuth was clearly slightly crazy. It should not be possible to get too excited about the many ways a help file may fail to open, and the problems presented by handling errors do not tend to be the most interesting ones a programmer may face. Nevertheless, I think there&#8217;s something of value there: since error-handling code always suffers in the shadow of the exciting stuff, <a href="http://www.nobugs.org/">people</a> implementing <a href="http://www.ergnosis.com/">grand new developer environments</a> might want to provide ways to give it it&#8217;s own time and space.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: obsess.com</title>
		<link>http://www.nobugs.org/blog/archives/2003/09/22/the-exceptional-mr-gosling/#comment-32</link>
		<dc:creator>obsess.com</dc:creator>
		<pubDate>Thu, 01 Jan 1970 01:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.nobugs.org/blog/archives/2003/09/22/the-exceptional-mr-gosling/#comment-32</guid>
		<description>&lt;strong&gt;http://obsess.com/blog/000094.html&lt;/strong&gt;
Tonight's Dark House drama on Radio 4 looks like it might be worthwhile. I'm not really convinced of the value of collaborative interactivity, which largely appears to be a scam to separate fools from their money and has been done...
</description>
		<content:encoded><![CDATA[<p><strong><a href="http://obsess.com/blog/000094.html" rel="nofollow">http://obsess.com/blog/000094.html</a></strong><br />
Tonight&#8217;s Dark House drama on Radio 4 looks like it might be worthwhile. I&#8217;m not really convinced of the value of collaborative interactivity, which largely appears to be a scam to separate fools from their money and has been done&#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>
