<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="/stylesheets/rss.css" type="text/css"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
  <channel>
    <title>Aaron Feng: The beauty of code</title>
    <link>http://www.aaronfeng.com/articles/2007/08/28/the-beauty-of-code</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description>Adventures in software development</description>
    <item>
      <title>The beauty of code</title>
      <description>&lt;p&gt;A few days ago, &lt;a href="http://iqueryable.com/"&gt;Steve Eichert&lt;/a&gt; sent me &lt;a href="http://rubyhoedown2007.confreaks.com/session09.html"&gt;this link to Marcel Molina's presentation&lt;/a&gt;
at &lt;a href="http://rubyhoedown2007.confreaks.com/"&gt;Ruby Hoedown 2007&lt;/a&gt;.  Marcel explores what makes code beautiful.  He lists the three following attributes:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Proportion&lt;/li&gt;
&lt;li&gt;Integrity&lt;/li&gt;
&lt;li&gt;Clarity&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Proportion references the amount of code needed to make a feature work.  You wouldn't expect 27 lines of code to multiply
two numbers together.  The code has integrity if it doesn't break down under non-trivial cases.   Lastly, the code should be clear as to what it is trying to accomplish.&lt;/p&gt;

&lt;p&gt;This is a very simple and elegant way to describe beautiful code.&lt;br/&gt;
Watch the video if you to see how Marcel came up with the assertions.&lt;/p&gt;</description>
      <pubDate>Tue, 28 Aug 2007 21:15:00 -0500</pubDate>
      <guid isPermaLink="false">urn:uuid:4d323e09-479d-4ade-ad1a-ff5b4fe7d3f1</guid>
      <author>Aaron Feng</author>
      <link>http://www.aaronfeng.com/articles/2007/08/28/the-beauty-of-code</link>
      <category>programming</category>
    </item>
  </channel>
</rss>
