<?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: A MooTools Code Riddle For You</title>
	<atom:link href="http://www.clientcide.com/code-snippets/a-mootools-code-riddle-for-you/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.clientcide.com/code-snippets/a-mootools-code-riddle-for-you/</link>
	<description>Making stuff work on the other side of the request.</description>
	<lastBuildDate>Mon, 30 Aug 2010 15:20:34 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Aaron N.</title>
		<link>http://www.clientcide.com/code-snippets/a-mootools-code-riddle-for-you/comment-page-1/#comment-31889</link>
		<dc:creator>Aaron N.</dc:creator>
		<pubDate>Sat, 31 Jan 2009 18:44:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.clientcide.com/?p=759#comment-31889</guid>
		<description>I would express it in a slightly different way than @Jenna. I would say that the code we&#039;re used to looking at is often very legible because it is very explicit &lt;i&gt;in nature&lt;/i&gt;. I.e. what the code is doing is very apparent. But at the heart of the framework lives some exceptionally abstract code that is difficult to understand. Methods that allow you to build much more complex things on top of them are often gibberish. Look at Fx.js - a lot of it looks totally unusable, but it&#039;s the abstract quality of the code that allows you to build Fx.Morph, Fx.Tween, Fx.Elements and others on top of it. Figuring out code like that presented here helps you both learn how to understand the meaning and usefulness of the heart of MooTools (and JavaScript), but it will also show you the virtue of designing your own code that way.</description>
		<content:encoded><![CDATA[<p>I would express it in a slightly different way than @Jenna. I would say that the code we&#8217;re used to looking at is often very legible because it is very explicit <i>in nature</i>. I.e. what the code is doing is very apparent. But at the heart of the framework lives some exceptionally abstract code that is difficult to understand. Methods that allow you to build much more complex things on top of them are often gibberish. Look at Fx.js &#8211; a lot of it looks totally unusable, but it&#8217;s the abstract quality of the code that allows you to build Fx.Morph, Fx.Tween, Fx.Elements and others on top of it. Figuring out code like that presented here helps you both learn how to understand the meaning and usefulness of the heart of MooTools (and JavaScript), but it will also show you the virtue of designing your own code that way.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jenna Fox</title>
		<link>http://www.clientcide.com/code-snippets/a-mootools-code-riddle-for-you/comment-page-1/#comment-31887</link>
		<dc:creator>Jenna Fox</dc:creator>
		<pubDate>Sat, 31 Jan 2009 10:24:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.clientcide.com/?p=759#comment-31887</guid>
		<description>@Stan: Sure, clean easy to read code may be easy to read, might help you get the job done quick. We have a lot of clean code around. I don&#039;t think I&#039;ve ever learnt anything of value from reading clean code. Just gotten the job done. It&#039;s the crazy code, the inventive endlessly recursive mega-chained gibberish that teaches and empowers me and many others. :)

Lets not overdo clean code. Mootools is after all an open source project. What drives Mootools, the very core of it&#039;s existence, like most open source, is to have fun and learn, as well as getting things done. The more fun you take out of the equation, the less people will want to work on the framework, and that has a very direct relationship with the quality and dependability of the framework.

So in summary, fun is good. That is all.</description>
		<content:encoded><![CDATA[<p>@Stan: Sure, clean easy to read code may be easy to read, might help you get the job done quick. We have a lot of clean code around. I don&#8217;t think I&#8217;ve ever learnt anything of value from reading clean code. Just gotten the job done. It&#8217;s the crazy code, the inventive endlessly recursive mega-chained gibberish that teaches and empowers me and many others. :)</p>
<p>Lets not overdo clean code. Mootools is after all an open source project. What drives Mootools, the very core of it&#8217;s existence, like most open source, is to have fun and learn, as well as getting things done. The more fun you take out of the equation, the less people will want to work on the framework, and that has a very direct relationship with the quality and dependability of the framework.</p>
<p>So in summary, fun is good. That is all.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stan Angeloff</title>
		<link>http://www.clientcide.com/code-snippets/a-mootools-code-riddle-for-you/comment-page-1/#comment-31885</link>
		<dc:creator>Stan Angeloff</dc:creator>
		<pubDate>Fri, 30 Jan 2009 19:25:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.clientcide.com/?p=759#comment-31885</guid>
		<description>&lt;b&gt;@Aaron:&lt;/b&gt; you are right in everything you said. I love creative &#039;code&#039;. I think my key point here is - let&#039;s do it in moderation; let&#039;s not overdo it. Yes, it certainly was fun especially at 3am.</description>
		<content:encoded><![CDATA[<p><b>@Aaron:</b> you are right in everything you said. I love creative &#8216;code&#8217;. I think my key point here is &#8211; let&#8217;s do it in moderation; let&#8217;s not overdo it. Yes, it certainly was fun especially at 3am.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aaron N.</title>
		<link>http://www.clientcide.com/code-snippets/a-mootools-code-riddle-for-you/comment-page-1/#comment-31884</link>
		<dc:creator>Aaron N.</dc:creator>
		<pubDate>Fri, 30 Jan 2009 19:21:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.clientcide.com/?p=759#comment-31884</guid>
		<description>Stan, there&#039;s nothing wrong with a bit of fun every now and then. Valerio sent this to me because he thought it was interesting. He wanted to see if he could solve a problem but this was just an exercise. When working on the MooTools core we often come up with very abstract things that are kind of beautiful to look at but ultimately may or may not make it in the release. Putting this code in front of everyone here makes them look at it and parse it and consider it. That&#039;s a good exercise if you ask me, and a fun one, too.</description>
		<content:encoded><![CDATA[<p>Stan, there&#8217;s nothing wrong with a bit of fun every now and then. Valerio sent this to me because he thought it was interesting. He wanted to see if he could solve a problem but this was just an exercise. When working on the MooTools core we often come up with very abstract things that are kind of beautiful to look at but ultimately may or may not make it in the release. Putting this code in front of everyone here makes them look at it and parse it and consider it. That&#8217;s a good exercise if you ask me, and a fun one, too.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stan Angeloff</title>
		<link>http://www.clientcide.com/code-snippets/a-mootools-code-riddle-for-you/comment-page-1/#comment-31883</link>
		<dc:creator>Stan Angeloff</dc:creator>
		<pubDate>Fri, 30 Jan 2009 19:05:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.clientcide.com/?p=759#comment-31883</guid>
		<description>&lt;b&gt;@Aaron:&lt;/b&gt; I want to disagree. I don&#039;t think we should have more of these. One of the coolest things about Mootools is the code: it is simply child&#039;s play to navigate around... or should I say &lt;i&gt;was&lt;/i&gt;. I don&#039;t think it is right to encourage developers to come up with riddles like the one above. As I did find out myself, it takes quite a bit of time to &#039;run&#039; the code in your head. Mootools has a lot of great features and if we are to come up with a quiz, let&#039;s focus on those rather than bang our heads with riddles as such?</description>
		<content:encoded><![CDATA[<p><b>@Aaron:</b> I want to disagree. I don&#8217;t think we should have more of these. One of the coolest things about Mootools is the code: it is simply child&#8217;s play to navigate around&#8230; or should I say <i>was</i>. I don&#8217;t think it is right to encourage developers to come up with riddles like the one above. As I did find out myself, it takes quite a bit of time to &#8216;run&#8217; the code in your head. Mootools has a lot of great features and if we are to come up with a quiz, let&#8217;s focus on those rather than bang our heads with riddles as such?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aaron N.</title>
		<link>http://www.clientcide.com/code-snippets/a-mootools-code-riddle-for-you/comment-page-1/#comment-31882</link>
		<dc:creator>Aaron N.</dc:creator>
		<pubDate>Fri, 30 Jan 2009 17:19:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.clientcide.com/?p=759#comment-31882</guid>
		<description>Ionel, that&#039;s how generics work in MooTools.

@Garrick, I&#039;ll try and come up with another one. Feel free to send me your own if you have something really abstract and creative.</description>
		<content:encoded><![CDATA[<p>Ionel, that&#8217;s how generics work in MooTools.</p>
<p>@Garrick, I&#8217;ll try and come up with another one. Feel free to send me your own if you have something really abstract and creative.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ionel</title>
		<link>http://www.clientcide.com/code-snippets/a-mootools-code-riddle-for-you/comment-page-1/#comment-31880</link>
		<dc:creator>Ionel</dc:creator>
		<pubDate>Fri, 30 Jan 2009 08:45:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.clientcide.com/?p=759#comment-31880</guid>
		<description>This would only work with generics functions that take as the first param an object that we want to &quot;duck&quot;</description>
		<content:encoded><![CDATA[<p>This would only work with generics functions that take as the first param an object that we want to &#8220;duck&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Garrick</title>
		<link>http://www.clientcide.com/code-snippets/a-mootools-code-riddle-for-you/comment-page-1/#comment-31878</link>
		<dc:creator>Garrick</dc:creator>
		<pubDate>Fri, 30 Jan 2009 06:50:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.clientcide.com/?p=759#comment-31878</guid>
		<description>That was awesome! Another!</description>
		<content:encoded><![CDATA[<p>That was awesome! Another!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tom Occhino</title>
		<link>http://www.clientcide.com/code-snippets/a-mootools-code-riddle-for-you/comment-page-1/#comment-31877</link>
		<dc:creator>Tom Occhino</dc:creator>
		<pubDate>Fri, 30 Jan 2009 05:16:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.clientcide.com/?p=759#comment-31877</guid>
		<description>I think we&#039;re going to have to implement a MooTools quiz, that all devs need to score at least an A on.  Jan and I compiled some JavaScript gotchas a while back. Let&#039;s see who the real ninjas really are... ;)</description>
		<content:encoded><![CDATA[<p>I think we&#8217;re going to have to implement a MooTools quiz, that all devs need to score at least an A on.  Jan and I compiled some JavaScript gotchas a while back. Let&#8217;s see who the real ninjas really are&#8230; ;)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jenna Fox</title>
		<link>http://www.clientcide.com/code-snippets/a-mootools-code-riddle-for-you/comment-page-1/#comment-31876</link>
		<dc:creator>Jenna Fox</dc:creator>
		<pubDate>Fri, 30 Jan 2009 03:01:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.clientcide.com/?p=759#comment-31876</guid>
		<description>I&#039;d rather a carrot than a gold star, but, whatever. :)</description>
		<content:encoded><![CDATA[<p>I&#8217;d rather a carrot than a gold star, but, whatever. :)</p>
]]></content:encoded>
	</item>
</channel>
</rss>
