<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Three of Coins &#187; clojure</title>
	<atom:link href="http://www.3ofcoins.net/tag/clojure/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.3ofcoins.net</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Thu, 21 Jan 2010 14:01:34 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Common Lisp, Clojure, and seriousness.</title>
		<link>http://www.3ofcoins.net/2009/01/30/common-lisp-clojure-and-seriousness/</link>
		<comments>http://www.3ofcoins.net/2009/01/30/common-lisp-clojure-and-seriousness/#comments</comments>
		<pubDate>Fri, 30 Jan 2009 14:06:16 +0000</pubDate>
		<dc:creator>Maciej</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[clojure]]></category>
		<category><![CDATA[common lisp]]></category>
		<category><![CDATA[lisp]]></category>
		<category><![CDATA[programming language]]></category>

		<guid isPermaLink="false">http://www.3ofcoins.net/?p=78</guid>
		<description><![CDATA[Brian Carper described a few days ago, how Clojure is better (for him) than Common Lisp (actually, SBCL).  I managed to dig through ensuing flame war, but it seems like nobody in the flame war realized (or it wasn&#8217;t stressed enough) that original post is actually comparing apples to oranges, a serious language to a toy language.
A [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://briancarper.net/2009/01/19/clojure-1-common-lisp-0/">Brian Carper described</a> a few days ago, how <a href="http://www.clojure.org/">Clojure</a> is better (for him) than <a href="http://www.lispworks.com/documentation/HyperSpec/Front/">Common Lisp</a> (actually, <a href="http://www.sbcl.org/">SBCL</a>).  I managed to dig through ensuing flame war, but it seems like nobody in the flame war realized (or it wasn&#8217;t stressed enough) that original post is actually comparing apples to oranges, a serious language to a toy language.</p>
<p>A language, to be considered serious, needs to be self-sufficient, a serious language can&#8217;t be a mere parasite on some host language or environment, and its <a href="http://en.wikipedia.org/wiki/Bus_factor">bus factor</a> can&#8217;t be finite.  That translates to just a couple of features:</p>
<ul>
<li>A serious language has to have a defining standard, it can&#8217;t be implementation-defined.  A good standard bumps language&#8217;s bus factor to <a href="http://en.wikipedia.org/wiki/Aleph_number">aleph null</a>: after a nuclear catastrophe, archæologists of future generations should be able to re-implement the language on any hardware, including <a href="http://en.wikipedia.org/wiki/Souls_in_the_Great_Machine">the Calculor</a>;</li>
<li>A serious language has to be self-hosting, or at least have some self-hosting implementations.  Only then language stops being dependent on other languages.</li>
</ul>
<p><span id="more-78"></span>Leaving aside other important traits (such as having multiple implementations, having a machine code compiler, extensibility, and so on), these two alone are necessary and sufficient for language to be serious; all programing languages not having these traits are just toys that can&#8217;t be guaranteed to last.</p>
<p>Toy languages may stay this way (as did Tcl and Perl, I think, and TeX is one-of-a-kind toy language which managed to grow enormously, staying implementation-defined and standardless).  On the other hand, starting a toy language may be just a way to bootstrap a serious language without starting from gathering a commitee, and I think that&#8217;s what is currently happening to Python.  I hope that will also happen to Clojure; I looked at it, and I liked what I saw (good concurrency support, decoupling polymorphism from data structures even more than in Common Lisp, a tiny bit more modern syntax, and it feels really well designed), however at the moment it is a toy language, feeding off Java, at very early stage of development.</p>
<p>Toy languages have short-term advantages (they are fast to create, usually simple, they leverage the host environment (libraries, operating system interface), they solve problem at hand quickly), and long-term disadvantages (lack of stability).  Serious languages have short-term disadvantages (multitude of slightly differing implementations to choose from, every single one of which has its own differences and extensions to the standard; implementation/library compatibility matrix; standard features are set in stone and it may be tricky to work around them), and long-term advantages (stability, one can rely on a serious language to be there in one form or another in ten years).</p>
<p>I have nothing against toy languages: they do their job, and do it well.  As a glue language, as a scripting language, as a solution to short-term problems, they&#8217;re good enough, and short-term advantages win over long-term disadvantages.  Brian was trying to solve a short-term problem and, not surprisingly, toy language worked better.  But: will the solution still work in ten, twenty years?  Heck, will it work with next release of Clojure, or next release of JVM, or if Rich Hickey (Clojure author) gets hit by a bus?  Brian didn&#8217;t need to answer these questions; do you?</p>
<p>When you get to choose a programming language, or any other tool, you may have some personal preferences, but don&#8217;t forget to ask yourself the single most important question: <em>What is the problem you&#8217;re trying to solve?</em>  The answer to this question determines all further questions and answers.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.3ofcoins.net/2009/01/30/common-lisp-clojure-and-seriousness/feed/</wfw:commentRss>
		<slash:comments>19</slash:comments>
		</item>
	</channel>
</rss>
