<?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>whump.com &#124; More Like This WebLog &#187; ruby</title>
	<atom:link href="http://www.whump.com/moreLikeThis/tag/ruby/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.whump.com/moreLikeThis</link>
	<description>Where is their vote?</description>
	<lastBuildDate>Mon, 28 Dec 2009 04:55:51 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Programming Languages as Literary Genres</title>
		<link>http://www.whump.com/feeder/?FeederAction=clicked&#038;feed=Articles+%28RSS2%29&#038;seed=http%3A%2F%2Fwww.whump.com%2FmoreLikeThis%2F2009%2F02%2F03%2Fprogramming-languages-as-literary-genres%2F&#038;seed_title=Programming+Languages+as+Literary+Genres</link>
		<comments>http://www.whump.com/feeder/?FeederAction=clicked&#038;feed=Articles+%28RSS2%29&#038;seed=http%3A%2F%2Fwww.whump.com%2FmoreLikeThis%2F2009%2F02%2F03%2Fprogramming-languages-as-literary-genres%2F&#038;seed_title=Programming+Languages+as+Literary+Genres#comments</comments>
		<pubDate>Tue, 03 Feb 2009 22:36:57 +0000</pubDate>
		<dc:creator>Bill Humphries</dc:creator>
				<category><![CDATA[culture]]></category>
		<category><![CDATA[humor]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[writing]]></category>
		<category><![CDATA[cat valente]]></category>
		<category><![CDATA[genre]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[perl]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[programming languages]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[smalltalk]]></category>

		<guid isPermaLink="false">http://www.whump.com/moreLikeThis/2009/02/03/programming-languages-as-literary-genres/</guid>
		<description><![CDATA[Python is science fiction, Java is literary fiction, and Ruby on Rails is store-bought steampunk goggles*. Cynthia emailed me about Cat Valente&#8217;s funny post about programming languages as literary genres this morning. Liz Henry has a write-up too. * for the record, my steampunk goggles were bought off of Etsy.]]></description>
			<content:encoded><![CDATA[<p><a href="http://yuki-onna.livejournal.com/426022.html">Python is science fiction, Java is literary fiction, and Ruby on Rails is store-bought steampunk goggles</a>*. Cynthia emailed me about Cat Valente&#8217;s funny post about programming languages as literary genres this morning. <a href="http://liz-henry.blogspot.com/2009/02/programming-languages-and-science.html">Liz Henry has a write-up too.</a></p>
<p>* for the record, my steampunk goggles were bought off of Etsy.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.whump.com/feeder/?FeederAction=clicked&#038;feed=Articles+%28RSS2%29&#038;seed=http%3A%2F%2Fwww.whump.com%2FmoreLikeThis%2F2009%2F02%2F03%2Fprogramming-languages-as-literary-genres%2F&#038;seed_title=Programming+Languages+as+Literary+Genres/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dispelling Some Confusion Over SproutCore</title>
		<link>http://www.whump.com/feeder/?FeederAction=clicked&#038;feed=Articles+%28RSS2%29&#038;seed=http%3A%2F%2Fwww.whump.com%2FmoreLikeThis%2F2008%2F06%2F17%2Fdispelling-some-confusion-over-sproutcore%2F&#038;seed_title=Dispelling+Some+Confusion+Over+SproutCore</link>
		<comments>http://www.whump.com/feeder/?FeederAction=clicked&#038;feed=Articles+%28RSS2%29&#038;seed=http%3A%2F%2Fwww.whump.com%2FmoreLikeThis%2F2008%2F06%2F17%2Fdispelling-some-confusion-over-sproutcore%2F&#038;seed_title=Dispelling+Some+Confusion+Over+SproutCore#comments</comments>
		<pubDate>Tue, 17 Jun 2008 07:21:22 +0000</pubDate>
		<dc:creator>Bill Humphries</dc:creator>
				<category><![CDATA[programming]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[json]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[sproutcore]]></category>

		<guid isPermaLink="false">http://www.whump.com/moreLikeThis/?p=4129</guid>
		<description><![CDATA[While SproutCore uses Ruby to generate static HTML and JavaScript files, you are not tied to Ruby or Rails in production. SproutCore runs in the browser, your production system can use whatever backend you want, as long as it sends JSON to the browser. When I was using an early version of SproutCore to build [...]]]></description>
			<content:encoded><![CDATA[<p>While <a href="http://www.sproutcore.com/">SproutCore</a> uses Ruby to generate static HTML and JavaScript files, <em>you are not tied to Ruby or Rails in production</em>.</p>
<p>SproutCore runs in the browser, your production system can use whatever backend you want<del datetime="2008-06-17T18:08:46+00:00">, as long as it sends JSON to the browser</del>.</p>
<p>When I was using an early version of SproutCore to build .Mac Web Gallery last year, the backing system was a WebDAV server that produced JSON when asked. I&#8217;m pretty sure that WebObjects is the backend sending JSON to the calendar and address book applications demoed at last week&#8217;s WWDC.</p>
<p>The nice thing about the separation of browser logic from the backend is that you can build some static JSON fixtures you can serve from your local web server while you&#8217;re developing your application.</p>
<p><strong>ETA:</strong> <a href="http://www.sproutcore.com/2008/06/17/dispelling-some-confusion-about-sproutcore/">Charles Jolley reminds me</a> that you can consume XML as well as JSON, but JSON remains faster.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.whump.com/feeder/?FeederAction=clicked&#038;feed=Articles+%28RSS2%29&#038;seed=http%3A%2F%2Fwww.whump.com%2FmoreLikeThis%2F2008%2F06%2F17%2Fdispelling-some-confusion-over-sproutcore%2F&#038;seed_title=Dispelling+Some+Confusion+Over+SproutCore/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ruby and Cafe Scifi+tique</title>
		<link>http://www.whump.com/feeder/?FeederAction=clicked&#038;feed=Articles+%28RSS2%29&#038;seed=http%3A%2F%2Fwww.whump.com%2FmoreLikeThis%2F2007%2F08%2F31%2Fruby-and-cafe-scifitique%2F&#038;seed_title=Ruby+and+Cafe+Scifi%2Btique</link>
		<comments>http://www.whump.com/feeder/?FeederAction=clicked&#038;feed=Articles+%28RSS2%29&#038;seed=http%3A%2F%2Fwww.whump.com%2FmoreLikeThis%2F2007%2F08%2F31%2Fruby-and-cafe-scifitique%2F&#038;seed_title=Ruby+and+Cafe+Scifi%2Btique#comments</comments>
		<pubDate>Fri, 31 Aug 2007 10:00:14 +0000</pubDate>
		<dc:creator>Bill Humphries</dc:creator>
				<category><![CDATA[culture]]></category>
		<category><![CDATA[fandom]]></category>
		<category><![CDATA[feminism]]></category>
		<category><![CDATA[nippon2007]]></category>
		<category><![CDATA[photoblog]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://www.whump.com/moreLikeThis/2007/08/31/ruby-and-cafe-scifitique/</guid>
		<description><![CDATA[You wouldn&#8217;t be surprised to meet Ruby enthusiasts at a Japanese science fiction convention. Shimura&#8217;s got embedded Ruby running in Illustrator. Press a button, and that evals to &#8217;7&#8242;. The back story: Shimura&#8217;s part of Cafe Scifi+tique, a performance event put together by Japanese science fiction fans to invert and parody the creepy &#8216;maid cafe&#8217; [...]]]></description>
			<content:encoded><![CDATA[<div class="postie-image-div"><a href="http://www.whump.com/moreLikeThis/wp-photos/20070831-030013-1.jpg" onclick="window.open('http://www.whump.com/moreLikeThis/wp-photos/20070831-030013-1.jpg','full_size_image','toolbar=0,scrollbars=0,location=0,status=0,menubar=0,resizable=1,height=660,width=500');return false;"><img src="http://www.whump.com/moreLikeThis/wp-photos/thumb.20070831-030013-1.jpg" alt="IMG_0232.jpg" title="IMG_0232.jpg" style="border: none;" class="postie-image" /></a></div>
<p>You wouldn&#8217;t be surprised to meet Ruby enthusiasts at a Japanese science fiction convention.</p>
<div class="postie-image-div"><a href="http://www.whump.com/moreLikeThis/wp-photos/20070831-030013-2.jpg" onclick="window.open('http://www.whump.com/moreLikeThis/wp-photos/20070831-030013-2.jpg','full_size_image','toolbar=0,scrollbars=0,location=0,status=0,menubar=0,resizable=1,height=500,width=660');return false;"><img src="http://www.whump.com/moreLikeThis/wp-photos/thumb.20070831-030013-2.jpg" alt="IMG_0233.jpg" title="IMG_0233.jpg" style="border: none;" class="postie-image" /></a></div>
<p>Shimura&#8217;s got embedded Ruby running in Illustrator. Press a button, and that evals to &#8217;7&#8242;.</p>
<p>The back story: Shimura&#8217;s part of <a href="http://scifitique.org/">Cafe Scifi+tique</a>, a performance event put together by Japanese science fiction fans to invert and parody the creepy &#8216;maid cafe&#8217; scene.</p>
<p>Cyn and I paid 500 JPY each to sit down with an actual scientist while we were served tea and juice for a half hour.</p>
<p>The annoying thing is that the mad scientist cafe&#8217;s set up in the far part of the convention hall, while another group&#8217;s running a maid cafe in the main exhibit hall.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.whump.com/feeder/?FeederAction=clicked&#038;feed=Articles+%28RSS2%29&#038;seed=http%3A%2F%2Fwww.whump.com%2FmoreLikeThis%2F2007%2F08%2F31%2Fruby-and-cafe-scifitique%2F&#038;seed_title=Ruby+and+Cafe+Scifi%2Btique/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A Spectrum of Complexity in Class Design</title>
		<link>http://www.whump.com/feeder/?FeederAction=clicked&#038;feed=Articles+%28RSS2%29&#038;seed=http%3A%2F%2Fwww.whump.com%2FmoreLikeThis%2F2005%2F12%2F07%2F04372%2F&#038;seed_title=A+Spectrum+of+Complexity+in+Class+Design</link>
		<comments>http://www.whump.com/feeder/?FeederAction=clicked&#038;feed=Articles+%28RSS2%29&#038;seed=http%3A%2F%2Fwww.whump.com%2FmoreLikeThis%2F2005%2F12%2F07%2F04372%2F&#038;seed_title=A+Spectrum+of+Complexity+in+Class+Design#comments</comments>
		<pubDate>Wed, 07 Dec 2005 08:05:10 +0000</pubDate>
		<dc:creator>Bill Humphries</dc:creator>
				<category><![CDATA[software-development]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://www.whump.com/moreLikeThis/2005/12/07/04372/</guid>
		<description><![CDATA[Todd Ditchendorf pointed out a disagreement between Martin Fowler and Elliott Rusty Harold on class design. Fowler appreciates all 78 methods in Ruby&#8217;s array class. Much of an object&#8217;s strength lies in its behavior, not its data. If you only try to provide the minimum, you end up with multiple clients duplicating code for common [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.ditchnet.org/wp/2005/12/06/kiss-keep-it-simple-scriptinglanguagedesigners/">Todd Ditchendorf pointed out a disagreement between Martin Fowler and Elliott Rusty Harold on class design</a>. Fowler <a href="http://martinfowler.com/bliki/HumaneInterface.html">appreciates all 78 methods in Ruby&#8217;s array class</a>. </p>
<blockquote cite="http://martinfowler.com/bliki/HumaneInterface.html">
<p>Much of an object&#8217;s strength lies in its behavior, not its data. If you only try to provide the minimum, you end up with multiple clients duplicating code for common cases. In cases like <code>flatten</code> you end up with a bunch of people writing their own recursive functions. It&#8217;s not hard, but why should they bother when it&#8217;s not that rare a case?</p>
</blockquote>
<p>Harold thinks <a href="http://www.cafeaulait.org/oldnews/news2005December6.html">the class is too large</a> and needs refactoring.</p>
<blockquote cite="http://www.cafeaulait.org/oldnews/news2005December6.html">
<p>There&#8217;s simply no reason for 78 methods in a basic <code>List</code> [Array] class. In fact, there&#8217;s no reason for 78 public methods in any class. 78 public methods in one class is a code smell. 78 public methods make a class hard to learn, hard to use, hard to test, and hard to maintain. When a class has 78 public methods, it&#8217;s time to refactor.</p>
</blockquote>
<p>I think Harold&#8217;s right when it comes to designing one&#8217;s own classes: make them small, focused and testable.</p>
<p>However, if a language has core classes like <code>Array</code>, I think there&#8217;s a reason to build in convenience methods so that users don&#8217;t have write them from scratch. Projects like Ruby have resources for writing optimized implementations of those methods, and testing them.</p>
<p>This summer I ended up writing about a dozen additional methods for the PHP libxml2 object. I can see other projects needing the same methods, and it would had been nice to have them baked into PHP.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.whump.com/feeder/?FeederAction=clicked&#038;feed=Articles+%28RSS2%29&#038;seed=http%3A%2F%2Fwww.whump.com%2FmoreLikeThis%2F2005%2F12%2F07%2F04372%2F&#038;seed_title=A+Spectrum+of+Complexity+in+Class+Design/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Language Wars</title>
		<link>http://www.whump.com/feeder/?FeederAction=clicked&#038;feed=Articles+%28RSS2%29&#038;seed=http%3A%2F%2Fwww.whump.com%2FmoreLikeThis%2F2004%2F09%2F23%2F04067%2F&#038;seed_title=Language+Wars</link>
		<comments>http://www.whump.com/feeder/?FeederAction=clicked&#038;feed=Articles+%28RSS2%29&#038;seed=http%3A%2F%2Fwww.whump.com%2FmoreLikeThis%2F2004%2F09%2F23%2F04067%2F&#038;seed_title=Language+Wars#comments</comments>
		<pubDate>Thu, 23 Sep 2004 07:00:00 +0000</pubDate>
		<dc:creator>Bill Humphries</dc:creator>
				<category><![CDATA[culture]]></category>
		<category><![CDATA[software-development]]></category>
		<category><![CDATA[perl]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://www.whump.com/moreLikeThis/2004/09/23/04067/</guid>
		<description><![CDATA[I&#8217;m a little bothered by all the sniping between the various scripting language camps: Lisp bashes Python, Perl bashes PHP, everyone bashes Java. But anyone can walk up, hand $10 to a hosting company, and start serving PHP + MySQL applications. If you want to run Perl, Python, Ruby or anything else, you need to [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m a little bothered by all the sniping between the various scripting language camps: <a href="http://lemonodor.com/archives/000921.html" title="Cool anime heroines code in Lisp, scary white guys in Python">Lisp bashes Python</a>, <a href="http://www.tnx.nl/php" title="Oh, you want consistent interfaces...">Perl bashes PHP</a>, everyone bashes Java.</p>
<p>But anyone can walk up, hand $10 to a hosting company, and start serving PHP + MySQL applications. If you want to run Perl, Python, Ruby or anything else, you need to use CGI or a dedicated and more expensive server.</p>
<p>Not to knock those other languages (and I&#8217;d like to do some projects in Ruby or Python,) but until Mod_(<a href="http://perl.apache.org/">Perl</a>|<a href="http://www.modpython.org/">Python</a>|<a href="http://modruby.net/en/index.rbx">Ruby</a>) becomes as common as PHP in hosting packages, people are going to build their applications using PHP.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.whump.com/feeder/?FeederAction=clicked&#038;feed=Articles+%28RSS2%29&#038;seed=http%3A%2F%2Fwww.whump.com%2FmoreLikeThis%2F2004%2F09%2F23%2F04067%2F&#038;seed_title=Language+Wars/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

