<?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>Blog of Anders Rune Jensen &#187; ruby</title>
	<atom:link href="http://people.iola.dk/arj/category/ruby/feed/" rel="self" type="application/rss+xml" />
	<link>http://people.iola.dk/arj</link>
	<description>metalinguistic musings and other related ramblings</description>
	<lastBuildDate>Fri, 18 Nov 2011 19:13:49 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2</generator>
		<item>
		<title>Beautiful code = proportionality, integrity and clarity?</title>
		<link>http://people.iola.dk/arj/2008/07/19/beautiful-code-proportionality-integrity-and-clarity/</link>
		<comments>http://people.iola.dk/arj/2008/07/19/beautiful-code-proportionality-integrity-and-clarity/#comments</comments>
		<pubDate>Sat, 19 Jul 2008 01:29:24 +0000</pubDate>
		<dc:creator>Anders Rune Jensen</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://people.iola.dk/arj/?p=162</guid>
		<description><![CDATA[<p>Writing beautiful code is such an elusive subject. I&#8217;ve never been able to put into words what makes code great, it&#8217;s sort of these things that just is. I even read a <a href="http://oreilly.com/catalog/9780596510046/">book</a> on it once, and while it had some quite tricks and hacks along the way, I never really thought I got closer to a definition of what beautiful code is.</p>
<p>I saw this talk about <a href="http://rubyconf2007.confreaks.com/d1t1p1_what_makes_code_beautiful.html">beautiful code</a> yesterday. The talk is from a ruby conference and starts a little slow, but around 18 minutes in, it gets really interested. His main thesis of the talk is that beautiful code can be defined using only three measuring sticks: proportional &#8211; 200 lines to read a simple file (Hello C)?, integrity &#8211; does it actually do what it&#8217;s supposed to do and in a reasonable fashion (speed, memory usage etc.) and finally clarity &#8211; can you grok the code again quickly 2 years after you wrote it in the first place (Hello Perl). Each one of these must be balanced.</p>
<p>Can beautiful code really be captured by three such simple rules? Rules that individually seems to be far from beautiful, instead much more functional in nature.</p>
]]></description>
		<wfw:commentRss>http://people.iola.dk/arj/2008/07/19/beautiful-code-proportionality-integrity-and-clarity/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

