<?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: Implications of Easy</title>
	<atom:link href="http://enfranchisedmind.com/blog/2005/10/16/implications-of-easy/feed/" rel="self" type="application/rss+xml" />
	<link>http://enfranchisedmind.com/blog/2005/10/16/implications-of-easy/</link>
	<description>Robert Fischer and Brian Hurt on Punditry, Programming Languages, and Other Religious Issues</description>
	<pubDate>Tue, 06 Jan 2009 14:56:58 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Candide</title>
		<link>http://enfranchisedmind.com/blog/2005/10/16/implications-of-easy/comment-page-1/#comment-21</link>
		<dc:creator>Candide</dc:creator>
		<pubDate>Mon, 17 Oct 2005 00:58:54 +0000</pubDate>
		<guid isPermaLink="false">http://enfranchisedmind.com/blog/?p=32#comment-21</guid>
		<description>My bad -- you certainly deserve the responsibility, and you're right: because of OCaml, we're both better programmers.  On the other hand, it's a kind of Plato's Cave issue: we see the light, and we try to share that, but it's frustrating because what we're doing seems "awkward" and "overcomplicated" to everyone else.

The most common data structure I'm using these days is a lazy map: I just put in the parameters as an object, and the map resolves itself to the right answer.  The Jakarta Commons Collection package is really nice for this (see the LazyMap class), and is greatly powerful when combined with the WeakHashMap class in the core of the language ("It's cached -- oh, is it gone?  Here's another one.").  The real danger is that you can get into some abusive object creation with any kind of nested results.

The other thing that's difficult is concepts like: "I'll test using some function, and do some standard processing while it's true."  I just did this the other day.  These plugable hunks of code normally get handled in an object maner by extending the class or (for the bad programmer) copy-and-paste, but that's actually pretty awkward, and makes refactoring difficult.</description>
		<content:encoded><![CDATA[<p>My bad &#8212; you certainly deserve the responsibility, and you&#8217;re right: because of OCaml, we&#8217;re both better programmers.  On the other hand, it&#8217;s a kind of Plato&#8217;s Cave issue: we see the light, and we try to share that, but it&#8217;s frustrating because what we&#8217;re doing seems &#8220;awkward&#8221; and &#8220;overcomplicated&#8221; to everyone else.</p>
<p>The most common data structure I&#8217;m using these days is a lazy map: I just put in the parameters as an object, and the map resolves itself to the right answer.  The Jakarta Commons Collection package is really nice for this (see the LazyMap class), and is greatly powerful when combined with the WeakHashMap class in the core of the language (&#8221;It&#8217;s cached &#8212; oh, is it gone?  Here&#8217;s another one.&#8221;).  The real danger is that you can get into some abusive object creation with any kind of nested results.</p>
<p>The other thing that&#8217;s difficult is concepts like: &#8220;I&#8217;ll test using some function, and do some standard processing while it&#8217;s true.&#8221;  I just did this the other day.  These plugable hunks of code normally get handled in an object maner by extending the class or (for the bad programmer) copy-and-paste, but that&#8217;s actually pretty awkward, and makes refactoring difficult.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
